Or do you mean test if a row at a particular Y coordinate contains
data?  i.e. Is there data in the TableView row under the mouse?

http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/TableView.html#getRowAt(int)

On 19 October 2011 13:01, Chris Bartlett <[email protected]> wrote:
> A TableView's rows are simply the contents of a
> org.apache.pivot.collections.List.
>
> So you just pull the relevant element out of the List by its index (if
> the element exists) and perform whatever kind of check you need.
>
> Something like this
>
> TableView tableView = ....
> List<?> tableData = tableView.getTableData();
> int rowIndex = ...;
> // Check if the row 'has data'
> // Here just checking for null, but your requirements may differ
> if (tableData.get(rowIndex) == null) {
>  // Do something
> }
>
> On 19 October 2011 11:55, V SANTOSH PAVAN RAJU BS
> <[email protected]> wrote:
>> Can any one tell me how to test whether a row in a TableView contains data
>> or not.
>>
>> --
>> Thanks & Regards
>> B.S.V.S.Pavan Raju.
>> Skype: skype_pavan1
>> Hyderabad.
>>
>

Reply via email to