Solved it myself...
For those who is interested:
after sorting is done,remove that first column and add another column, then add digits from 1 to whatever using loop and setCellData. Here is code:
==================
dp = new Array();
var myColumn = new FGridColumn("Order");
fruitAr =...
I'm trying to create datagrid, from XML and then number each record.
But I also need to sort that Datagrid.
E.g. I have:
| ID| FRUIT | COLOR |
=====================================
| 1 | Apple | Green,Red,Yellow |
| 2 | Pear | Green,Yellow |
| 3 | Strawberry | Red...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.