the only caveat is remembering to keep the current page...but that is trivial

-igor


On Jan 29, 2008 5:13 AM, Clay Lehman <[EMAIL PROTECTED]> wrote:
> Can't you just create a new DataTable with the new list of columns in
> the ajax call when you want to add/remove a column, then repaint the
> container holding the Table?
>
> -Clay
>
>
> -----Original Message-----
> From: Timo Rantalaiho [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 28, 2008 10:26 PM
> To: [email protected]
> Subject: Re: Dynamic DataTable columns
>
> On Mon, 28 Jan 2008, UPBrandon wrote:
> > Although, in the mean time, I still have the same problem - not being
> able
> > to change change the columns after the DataTable has been declared, at
> > render time.  Any suggestions?
>
> Roll your own using DataView. You can take ideas from
> DataTable but I doubt that the Column abstraction helps you
> if you want to change the columns dynamically; this is
> probably easier done by just changing the row Item creation.
>
> In my experience such high-level components as DataTable
> don't work well when you want a lot of control, then their
> value is more that of an example.
>
> Best wishes,
> Timo
>
> --
> Timo Rantalaiho
> Reaktor Innovations Oy    <URL: http://www.ri.fi/ >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to