Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
Column moving before data loaded in grid error
posted

Hi,

 

I have an igGrid, with column moving functionality and no data in the datasource. The datasource is a JSON object. Suppose I move a column when the grid is loaded (with no rows). Later when I add data to the datasource the grid data does not change according to the columns moved.

 

ex:

|     A       |      B     |     C      |       D        |

___________________________________

 

Column B moved to D

|     A       |      D     |     C      |       B        |

___________________________________

 

Data added to datasource:

 

A: 4, B: 3, C: 9, D: 8

 

shows the following grid

 

|     A       |      D     |     C      |       B        |

___________________________________

|     4       |      3     |     9      |       8        |

 

 

Please advice as to how to show data according to the new column format

 

Thank you