Skip to Content
avatar image
Former Member

How to Implement Grouping on Row in Table

Hi All,

I am new at this stage. I want to show data in a Table with Grouping on Rows. How can I implement Grouping on rows.

for exampl.: Lots of data are coming in a Table but I want to show them by grouping on Country,State,City

India

Haryana

Hisar

Rohtak

Maharashtra

Mumbai

America

........

............

............

............

..........

..........

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Dec 15, 2011 at 06:16 AM

    For each table column you can specify a grouping value. The grouping value property is available in properties of table column.

    Ex for country column you can give country name has grouping value and similarly state name for state column

    The node bind to the table should be in sorted order.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 15, 2011 at 06:41 AM

    Hi Shiv kumar,

    Refer the below article and forum thread for your requirement. This can be done by using TreeByNestingTableColumn UI element in the table.

    [Article|/docs/DOC-8061#31]

    [Forum Thread|Adding the new row to the Tree structure in Table dynamically click on Add;

    Regards,

    Vishweshwara P.K.M.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 16, 2011 at 05:44 PM

    Dear Shiv,

    For the table column grouping, table column should be GroupedColumn. Bind the context attribute to the groupingValue properties of the GroupedColumn same as which you will bind to the TextView-TableCellEditor TEXT.

    Hope it will helps.

    Best Regards

    Arun Jaiswal

    Add comment
    10|10000 characters needed characters exceeded