Categories | Question details Back To List | ||
getSortingState() issues getSortingState() doesn't return anything . This is the xml i used: <?xml version="1.0" encoding="iso-8859-1" ?> - <rows> - <row id="36"> <cell image="folder.gif">ANT</cell> - <row id="ANT9"> <cell image="folder.gif">ANT9</cell> <cell>2</cell> </row> - <row id="ANT5"> <cell image="folder.gif">ANT5</cell> <cell>2</cell> </row> - <row id="ANT10"> <cell image="folder.gif">ANT10</cell> <cell>3</cell> </row> - <row id="ANT8"> <cell image="folder.gif">ANT8</cell> <cell>2</cell> </row> - <row id="ANT2"> <cell image="folder.gif">ANT2</cell> <cell>3</cell> </row> - <row id="ANT7"> <cell image="folder.gif">ANT7</cell> <cell>1</cell> </row> - <row id="ANT6"> <cell image="folder.gif">ANT6</cell> <cell>1</cell> </row> - <row id="ANT4"> <cell image="folder.gif">ANT4</cell> <cell>2</cell> </row> - <row id="ANT1"> <cell image="folder.gif">ANT1</cell> <cell>4</cell> </row> - <row id="ANT3"> <cell image="folder.gif">ANT3</cell> <cell>2</cell> </row> </row> + <row id="37"> <cell image="folder.gif">BEV</cell> - <row id="BEV5"> <cell image="folder.gif">BEV5</cell> <cell>1</cell> </row> - <row id="BEV3"> <cell image="folder.gif">BEV3</cell> <cell>2</cell> </row> - <row id="BEV1"> <cell image="folder.gif">BEV1</cell> <cell>1</cell> </row> - <row id="BEV2"> <cell image="folder.gif">BEV2</cell> <cell>1</cell> </row> </row> - <row id="38"> <cell image="folder.gif">BOB</cell> - <row id="BOB6"> <cell image="folder.gif">BOB6</cell> <cell>1</cell> </row> - <row id="BOB4"> <cell image="folder.gif">BOB4</cell> <cell>5</cell> </row> - <row id="BOB7"> <cell image="folder.gif">BOB7</cell> <cell>1</cell> </row> - <row id="BOB2"> <cell image="folder.gif">BOB2</cell> <cell>1</cell> </row> </row> - <row id="39"> <cell image="folder.gif">BOO</cell> - <row id="BOO5"> <cell image="folder.gif">BOO5</cell> <cell>2</cell> </row> - <row id="BOO1"> <cell image="folder.gif">BOO1</cell> <cell>5</cell> </row> - <row id="BOO8"> <cell image="folder.gif">BOO8</cell> <cell>4</cell> </row> - <row id="BOO3"> <cell image="folder.gif">BOO3</cell> <cell>1</cell> </row> - <row id="BOO7"> <cell image="folder.gif">BOO7</cell> <cell>1</cell> </row> </row> - <row id="40"> <cell image="folder.gif">BOR</cell> - <row id="BOR7"> <cell image="folder.gif">BOR7</cell> <cell>4</cell> </row> - <row id="BOR6"> <cell image="folder.gif">BOR6</cell> <cell>2</cell> </row> - <row id="BOR4"> <cell image="folder.gif">BOR4</cell> <cell>1</cell> </row> - <row id="BOR3"> <cell image="folder.gif">BOR3</cell> <cell>2</cell> </row> - <row id="BOR1"> <cell image="folder.gif">BOR1</cell> <cell>1</cell> </row> - <row id="BOR5"> <cell image="folder.gif">BOR5</cell> <cell>1</cell> </row> </row> - <row id="41"> <cell image="folder.gif">BRA</cell> - <row id="BRA6"> <cell image="folder.gif">BRA6</cell> <cell>2</cell> </row> - <row id="BRA1"> <cell image="folder.gif">BRA1</cell> <cell>4</cell> </row> - <row id="BRA2"> <cell image="folder.gif">BRA2</cell> <cell>3</cell> </row> - <row id="BRA3"> <cell image="folder.gif">BRA3</cell> <cell>1</cell> </row> - <row id="BRA4"> <cell image="folder.gif">BRA4</cell> <cell>1</cell> </row> </row> - <row id="42"> <cell image="folder.gif">BRE</cell> - <row id="BRE6"> <cell image="folder.gif">BRE6</cell> <cell>2</cell> </row> - <row id="BRE1"> <cell image="folder.gif">BRE1</cell> <cell>2</cell> </row> - <row id="BRE4"> <cell image="folder.gif">BRE4</cell> <cell>1</cell> </row> - <row id="BRE7"> <cell image="folder.gif">BRE7</cell> <cell>4</cell> </row> </row> - <row id="43"> <cell image="folder.gif">DEU</cell> - <row id="DEU5"> <cell image="folder.gif">DEU5</cell> <cell>2</cell> </row> - <row id="DEU8"> <cell image="folder.gif">DEU8</cell> <cell>2</cell> </row> - <row id="DEU7"> <cell image="folder.gif">DEU7</cell> <cell>1</cell> </row> - <row id="DEU2"> <cell image="folder.gif">DEU2</cell> <cell>3</cell> </row> - <row id="DEU4"> <cell image="folder.gif">DEU4</cell> <cell>2</cell> </row> </row> - <row id="44"> <cell image="folder.gif">DUF</cell> - <row id="DUF4"> <cell image="folder.gif">DUF4</cell> <cell>2</cell> </row> - <row id="DUF3"> <cell image="folder.gif">DUF3</cell> <cell>2</cell> </row> - <row id="DUF2"> <cell image="folder.gif">DUF2</cell> <cell>1</cell> </row> - <row id="DUF1"> <cell image="folder.gif">DUF1</cell> <cell>4</cell> </row> - <row id="DUF7"> <cell image="folder.gif">DUF7</cell> <cell>4</cell> </row> - <row id="DUF9"> <cell image="folder.gif">DUF9</cell> <cell>2</cell> </row> - <row id="DUF6"> <cell image="folder.gif">DUF6</cell> <cell>1</cell> </row> </row> - <row id="45"> <cell image="folder.gif">EKE</cell> - <row id="EKE7"> <cell image="folder.gif">EKE7</cell> <cell>4</cell> </row> - <row id="EKE8"> <cell image="folder.gif">EKE8</cell> <cell>2</cell> </row> - <row id="EKE2"> <cell image="folder.gif">EKE2</cell> <cell>1</cell> </row> - <row id="EKE4"> <cell image="folder.gif">EKE4</cell> <cell>2</cell> </row> </row> - <row id="46"> <cell image="folder.gif">ESS</cell> - <row id="ESS4"> <cell image="folder.gif">ESS4</cell> <cell>1</cell> </row> - <row id="ESS1"> <cell image="folder.gif">ESS1</cell> <cell>1</cell> </row> - <row id="ESS2"> <cell image="folder.gif">ESS2</cell> <cell>2</cell> </row> </row> - <row id="47"> <cell image="folder.gif">GIL</cell> - <row id="GIL11"> <cell image="folder.gif">GIL11</cell> <cell>2</cell> </row> - <row id="GIL5"> <cell image="folder.gif">GIL5</cell> <cell>1</cell> </row> - <row id="GIL1"> <cell image="folder.gif">GIL1</cell> <cell>1</cell> </row> - <row id="GIL4"> <cell image="folder.gif">GIL4</cell> <cell>2</cell> </row> - <row id="GIL9"> <cell image="folder.gif">GIL9</cell> <cell>1</cell> </row> - <row id="GIL8"> <cell image="folder.gif">GIL8</cell> <cell>1</cell> </row> </row> - <row id="48"> <cell image="folder.gif">GOO</cell> - <row id="GOO8"> <cell image="folder.gif">GOO8</cell> <cell>1</cell> </row> - <row id="GOO2"> <cell image="folder.gif">GOO2</cell> <cell>1</cell> </row> - <row id="GOO9"> <cell image="folder.gif">GOO9</cell> <cell>2</cell> </row> - <row id="GOO5"> <cell image="folder.gif">GOO5</cell> <cell>1</cell> </row> - <row id="GOO6"> <cell image="folder.gif">GOO6</cell> <cell>3</cell> </row> - <row id="GOO4"> <cell image="folder.gif">GOO4</cell> <cell>1</cell> </row> - <row id="GOO7"> <cell image="folder.gif">GOO7</cell> <cell>1</cell> </row> </row> - <row id="49"> <cell image="folder.gif">HAM</cell> - <row id="HAM4"> <cell image="folder.gif">HAM4</cell> <cell>2</cell> </row> </row> - <row id="50"> <cell image="folder.gif">HOB</cell> - <row id="HOB1"> <cell image="folder.gif">HOB1</cell> <cell>1</cell> </row> - <row id="HOB5"> <cell image="folder.gif">HOB5</cell> <cell>1</cell> </row> </row> - <row id="51"> <cell image="folder.gif">KAL</cell> - <row id="KAL5"> <cell image="folder.gif">KAL5</cell> <cell>5</cell> </row> - <row id="KAL3"> <cell image="folder.gif">KAL3</cell> <cell>2</cell> </row> - <row id="KAL1"> <cell image="folder.gif">KAL1</cell> <cell>1</cell> </row> - <row id="KAL2"> <cell image="folder.gif">KAL2</cell> <cell>1</cell> </row> </row> - <row id="52"> <cell image="folder.gif">KAP</cell> - <row id="KAP5"> <cell image="folder.gif">KAP5</cell> <cell>5</cell> </row> - <row id="KAP6"> <cell image="folder.gif">KAP6</cell> <cell>4</cell> </row> - <row id="KAP2"> <cell image="folder.gif">KAP2</cell> <cell>3</cell> </row> </row> - <row id="53"> <cell image="folder.gif">KEM</cell> - <row id="KEM6"> <cell image="folder.gif">KEM6</cell> <cell>5</cell> </row> - <row id="KEM2"> <cell image="folder.gif">KEM2</cell> <cell>1</cell> </row> - <row id="KEM4"> <cell image="folder.gif">KEM4</cell> <cell>2</cell> </row> - <row id="KEM5"> <cell image="folder.gif">KEM5</cell> <cell>1</cell> </row> </row> - <row id="54"> <cell image="folder.gif">LIE</cell> - <row id="LIE4"> <cell image="folder.gif">LIE4</cell> <cell>2</cell> </row> - <row id="LIE1"> <cell image="folder.gif">LIE1</cell> <cell>2</cell> </row> - <row id="LIE6"> <cell image="folder.gif">LIE6</cell> <cell>2</cell> </row> - <row id="LIE3"> <cell image="folder.gif">LIE3</cell> <cell>1</cell> </row> </row> - <row id="55"> <cell image="folder.gif">LOK</cell> - <row id="LOK9"> <cell image="folder.gif">LOK9</cell> <cell>1</cell> </row> - <row id="LOK4"> <cell image="folder.gif">LOK4</cell> <cell>1</cell> </row> - <row id="LOK1"> <cell image="folder.gif">LOK1</cell> <cell>1</cell> </row> - <row id="LOK6"> <cell image="folder.gif">LOK6</cell> <cell>1</cell> </row> - <row id="LOK2"> <cell image="folder.gif">LOK2</cell> <cell>2</cell> </row> </row> - <row id="56"> <cell image="folder.gif">MAL</cell> - <row id="MAL5"> <cell image="folder.gif">MAL5</cell> <cell>2</cell> </row> - <row id="MAL6"> <cell image="folder.gif">MAL6</cell> <cell>4</cell> </row> - <row id="MAL4"> <cell image="folder.gif">MAL4</cell> <cell>2</cell> </row> - <row id="MAL1"> <cell image="folder.gif">MAL1</cell> <cell>1</cell> </row> </row> - <row id="57"> <cell image="folder.gif">NIE</cell> - <row id="NIE8"> <cell image="folder.gif">NIE8</cell> <cell>1</cell> </row> - <row id="NIE1"> <cell image="folder.gif">NIE1</cell> <cell>3</cell> </row> - <row id="NIE3"> <cell image="folder.gif">NIE3</cell> <cell>1</cell> </row> - <row id="NIE10"> <cell image="folder.gif">NIE10</cell> <cell>1</cell> </row> </row> - <row id="63"> <cell image="folder.gif">P-ANT</cell> - <row id="P-ANT03"> <cell image="folder.gif">P-ANT03</cell> <cell>1</cell> </row> - <row id="P-ANT05"> <cell image="folder.gif">P-ANT05</cell> <cell>1</cell> </row> - <row id="P-ANT06"> <cell image="folder.gif">P-ANT06</cell> <cell>1</cell> </row> </row> - <row id="64"> <cell image="folder.gif">P-BRA</cell> - <row id="P-BRA09"> <cell image="folder.gif">P-BRA09</cell> <cell>1</cell> </row> - <row id="P-BRA10"> <cell image="folder.gif">P-BRA10</cell> <cell>1</cell> </row> </row> - <row id="65"> <cell image="folder.gif">P-EDE</cell> - <row id="P-EDE04"> <cell image="folder.gif">P-EDE04</cell> <cell>1</cell> </row> - <row id="P-EDE03"> <cell image="folder.gif">P-EDE03</cell> <cell>1</cell> </row> </row> - <row id="67"> <cell image="folder.gif">P-HAM</cell> - <row id="P-HAM12"> <cell image="folder.gif">P-HAM12</cell> <cell>1</cell> </row> </row> - <row id="68"> <cell image="folder.gif">P-HOB</cell> - <row id="P-HOB12"> <cell image="folder.gif">P-HOB12</cell> <cell>1</cell> </row> - <row id="P-HOB14"> <cell image="folder.gif">P-HOB14</cell> <cell>1</cell> </row> </row> - <row id="69"> <cell image="folder.gif">P-KAL</cell> - <row id="P-KAL09"> <cell image="folder.gif">P-KAL09</cell> <cell>1</cell> </row> </row> - <row id="70"> <cell image="folder.gif">P-LOK</cell> - <row id="P-LOK14"> <cell image="folder.gif">P-LOK14</cell> <cell>1</cell> </row> - <row id="P-LOK15"> <cell image="folder.gif">P-LOK15</cell> <cell>2</cell> </row> </row> - <row id="71"> <cell image="folder.gif">P-SCH</cell> - <row id="P-SCH09"> <cell image="folder.gif">P-SCH09</cell> <cell>2</cell> </row> - <row id="P-SCH13"> <cell image="folder.gif">P-SCH13</cell> <cell>1</cell> </row> - <row id="P-SCH06"> <cell image="folder.gif">P-SCH06</cell> <cell>1</cell> </row> </row> - <row id="73"> <cell image="folder.gif">P-WOM</cell> - <row id="P-WOM02"> <cell image="folder.gif">P-WOM02</cell> <cell>1</cell> </row> - <row id="P-WOM07"> <cell image="folder.gif">P-WOM07</cell> <cell>1</cell> </row> </row> - <row id="58"> <cell image="folder.gif">SIN</cell> - <row id="SIN7"> <cell image="folder.gif">SIN7</cell> <cell>1</cell> </row> - <row id="SIN4"> <cell image="folder.gif">SIN4</cell> <cell>1</cell> </row> - <row id="SIN1"> <cell image="folder.gif">SIN1</cell> <cell>1</cell> </row> </row> - <row id="59"> <cell image="folder.gif">STA</cell> - <row id="STA4"> <cell image="folder.gif">STA4</cell> <cell>2</cell> </row> - <row id="STA9"> <cell image="folder.gif">STA9</cell> <cell>2</cell> </row> - <row id="STA7"> <cell image="folder.gif">STA7</cell> <cell>1</cell> </row> - <row id="STA8"> <cell image="folder.gif">STA8</cell> <cell>1</cell> </row> - <row id="STA2"> <cell image="folder.gif">STA2</cell> <cell>1</cell> </row> - <row id="STA3"> <cell image="folder.gif">STA3</cell> <cell>1</cell> </row> </row> - <row id="60"> <cell image="folder.gif">WOM</cell> - <row id="WOM7"> <cell image="folder.gif">WOM7</cell> <cell>1</cell> </row> - <row id="WOM3"> <cell image="folder.gif">WOM3</cell> <cell>4</cell> </row> - <row id="WOM5"> <cell image="folder.gif">WOM5</cell> <cell>1</cell> </row> - <row id="WOM1"> <cell image="folder.gif">WOM1</cell> <cell>1</cell> </row> </row> - <row id="61"> <cell image="folder.gif">WUU</cell> - <row id="WUU1"> <cell image="folder.gif">WUU1</cell> <cell>2</cell> </row> - <row id="WUU2"> <cell image="folder.gif">WUU2</cell> <cell>4</cell> </row> - <row id="WUU4"> <cell image="folder.gif">WUU4</cell> <cell>1</cell> </row> - <row id="WUU6"> <cell image="folder.gif">WUU6</cell> <cell>1</cell> </row> </row> - <row id="62"> <cell image="folder.gif">ZWY</cell> - <row id="ZWY8"> <cell image="folder.gif">ZWY8</cell> <cell>2</cell> </row> - <row id="ZWY3"> <cell image="folder.gif">ZWY3</cell> <cell>2</cell> </row> </row> </rows> Answer posted by Support on Oct 28, 2008 08:07 If some column is sorted, getSortingState() returns the array of column index and its sorting state. If the method doesn't return the array when a column is sorted, please, provide the sample where the issue can be recreated directly at the support@dhtmlx.com |