hi, i use standard edition 5.0 for my application; normally I use an ‘order by’ clause in my select that returns and renders rows in unordered id (as anag_id is id and “order by name, surname” is the clause)
when I use forEachRow to extract data from cells to a json row, it returns data in id order, and not in rendered order. for example:
return of connector with order by:
" <row id='1917'><cell><![CDATA[AG]]></cell><cell><![CDATA[BASTANTE]]></cell><cell><![CDATA[Giulia]]>..../row> <row id='2710'><cell><![CDATA[AG]]></cell><cell><![CDATA[BORDERI]]></cell><cell><![CDATA[Benedetta]]></cell>...</row> <row id='2885'><cell><![CDATA[AG]]></cell><cell><![CDATA[CACCAMO]]></cell><cell><![CDATA[Gloriamaria]]></cell>...</row> <row id='2244'><cell><![CDATA[AG]]></cell><cell><![CDATA[FONTANA]]></cell><cell><![CDATA[Gloria]]>...</row> <row id='2779'><cell><![CDATA[AG]]></cell><cell><![CDATA[GANCI]]></cell><cell><![CDATA[Greta]]>...</row> <row id='2409'><cell><![CDATA[AG]]></cell><cell><![CDATA[INNOCENTI]]></cell><cell><![CDATA[Sarah]]>...</row> <row id='2707'><cell><![CDATA[AG]]></cell><cell><![CDATA[MARTOGLI]]></cell><cell><![CDATA[Sofia]]>...</row> <row id='2586'><cell><![CDATA[AG]]></cell><cell><![CDATA[VENDETTI]]></cell><cell><![CDATA[Carla Maria]]></cell>...</row> <row id='818'><cell><![CDATA[BB1]]></cell><cell><![CDATA[QUATTROPANI]]></cell><cell><![CDATA[Sebastiano]]></cell>...</row> <row id='3668'><cell><![CDATA[BB2]]></cell><cell><![CDATA[INTURRISI]]></cell><cell><![CDATA[Nicole]]></cell><cell>...</row>..."
result of forEachRow:
Id: 818 (data of id 818)
Id: 1917 ()
Id: 2244 ()
Id: 2586 ()
and so on in id order
How can I obtain the same order as in rendered page?
By the way, the function getRowData doesn’t exist in my release of dhtmlxSuite
Can you help me?
thanks