Categories | Question details Back To List | ||
About a move column I have thought to see the move column of the sample, I will ask you a question. When I add the row after the column in the grid is replaced Just like data with which the data of the added row replaced the column Is there a method of the correct addition? p.s.: I am sorry that English is not good. Answer posted by Support on Feb 05, 2009 02:06 The addRow command place values to the related column based on current state of grid, so if column was moved it will set values based on new column order. The next feature is not a part of public API, but can be used in your case Instead of grid.addRow(id,[1,2,3,4]); you can use function correct(data){ return grid._c_order?grid._swapColumns(data):data; } grid.addRow(id,correct([1,2,3,4])); |