0 Replies Latest reply on Mar 6, 2007 11:12 PM by Cheree Singal

    How to bring data grid to default state after clicking on a column header?

    Cheree Singal

      I have a data grid whose columns are sortable. After clicking on any 1 column, say A, the rows are sorted according to contents of A. Now, when the dataProvider of the data grid gets repopulated, the data grid still shows the contents after sorting on column A, whereas I want the rows to be shown in the order in which they were present in data provider. This means I will have to bring the data grid in its default state before repopulating it. Does anyone know how to do it?

      Thanks in advance,