Re: datatable and selecting a row event

2006-05-23 Thread Alex Burton
Thanks! that worked a treat!On 5/23/06, Jeff Bischoff <[EMAIL PROTECTED]> wrote: Here is how I catch the 'row id' in my application:         value="#{data.sequenceNum}" />    This is generalized, stripped-down code - obviously I have other columnsand such. The user will see i

Re: datatable and selecting a row event

2006-05-23 Thread Jeff Bischoff
Here is how I catch the 'row id' in my application: value="#{data.sequenceNum}" /> This is generalized, stripped-down code - obviously I have other columns and such. The user will see in the first column a list of numbers. If they click a number, the will

Re: datatable and selecting a row event

2006-05-23 Thread Cosma Colanicchia
A quick solution is to nest an inside your commandLink to update a property of your backing bean.There is another approach that I use with a dataTable, maybe it works also for a dataGrid: if your list is loaded using a DataModel, you can simply ask that object the current row in your backing bean.

Re: datatable and selecting a row event

2006-05-23 Thread Alex Burton
Thanks Volker. How do you catch the 'row id' though? Cheers, Alex.On 5/23/06, Volker Weber <[EMAIL PROTECTED]> wrote: Hi Alex,we do this by using h:commandlink, with parameter, for displaying the row data.But you need to hit the text when clicking on a row.regards,  Volker2006/5/23, Alex Burton <

Re: datatable and selecting a row event

2006-05-22 Thread Volker Weber
Hi Alex, we do this by using h:commandlink, with parameter, for displaying the row data. But you need to hit the text when clicking on a row. regards, Volker 2006/5/23, Alex Burton <[EMAIL PROTECTED]>: Hi all, I'm trying to use a datagrid as a way to quickly find and select a particular it

datatable and selecting a row event

2006-05-22 Thread Alex Burton
Hi all, I'm trying to use a datagrid as a way to quickly find and select a particular item from a large list of items. The items have several attributes I wish to display and can number in the 100's, so a drop down list isn't the right way to go... So... I have my datagrid displaying beautifully.