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.
>