Is there any chance simply removing the "final" modifier could make it into a
1.3.1 type of release?


igor.vaynberg wrote:
> 
> you will have to roll your own for now. we might fix this in 1.4 if
> you add this to the wiki wishlist for 1.4 page.
> 
> -igor
> 
>> I was wondering if there is any way to change the columns of a DataTable
>> once
>> it has been declared.  On my page, I pass an IModel into a Panel that
>> contains my DataTable.  As the user users the page, the contents of the
>> model will change and I would like for that to affect which columns are
>> shown in the table.  The problem is that DataTables take an array of
>> IColumns (instead of a List, which could be manipulated after
>> instantiation.)  I would override the DataTable's getColumns() method to
>> return the appropriate columns but it is final.  Is there any
>> technical/design reason why getColumns() is final?  To me, it seems
>> unnecessary and is very annoying in an OO framework.
>>
>> Does anyone know of any way I could make the columns in my table dynamic
>> without setting the visibility of <th>'s and <td>'s from inside my
>> IColumns?
>> Any help would be appreciated.
>>
>> -Brandon
> 

-- 
View this message in context: 
http://www.nabble.com/Dynamic-DataTable-columns-tp15142596p15143304.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to