If you have a handle to the Item instance represetning the cell, then you can
do something like

cell.findParent(Item.class)

which will get you the row's Item instance, on which you can call
row.getModel()

FWIW, the inmethod grid is excellent, but it does require pretty big changes
in order to replace an exisiting *complex* DataTable

Chuck


Sathish Gopal wrote:
> 
> If i need to adopt to this API, then i need to rewrite the entire Page
> class. Is there any other solution.
> 
> How do i get hold of the rowModel(org.apache.wicket.markup.repeater.Item)
> in the DataView when one of the columns is selected. There must be way to
> get the rowModel for some event trigger in a column...
> 
> 
> Jonathan Locke wrote:
>> 
>> 
>> don't know the answer, but just thought you should know about this FYI:
>> 
>> http://inmethod.com/
>> 
>> 
>> Sathish Gopal wrote:
>>> 
>>> Hi all,
>>> 
>>> I've built a DataTable(AjaxFallbackDataTable) to display list of values.
>>> My requirement is that by clicking (Link) one of the coloumns in any
>>> given row should make the row (all the columns) editable.
>>> I've used AjaxEditlabel as cell renderer for all the columns. How to
>>> change the underlying editor of all the column in a specific row?
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Making-entire-row-editable-in-a-DataTable-tp17071597p17105576.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