Search code examples
gwtgwt2

GWT :FlexTable widget counts in a row


Can anyone guide me to calculate counts of widget in a FlexTable's specific row ? I can get row counts by table.getRowCount(); but I have no idea for counts of element or widgets in a specific row.
For example.....

row 1 >>>> 5 widgets
row 2 >>>> 3 widgets

Thanks in advance...


Solution

  • Now I am fine with this..

    table.getRowFormatter().getElement(row).getChildCount();