Skip to content Skip to sidebar Skip to footer

JQgrid - Getting Issue After Moving First Column Column(td) At Last Of Grid

I have issue with jQgrid moving first column(multiselect checkbox) at last as given in this answer by oleg. Issue: after select and delete the row the grid column is mis-aligned wi

Solution 1:

The old answer, which you reference is very old (4.5 years ago). There are now two main forks of jqGrid: free jqGrid, which I develop and provide under the same MIT / GNU GPLv2 licenses like it was before and the commercial Guriddo jqGrid JS available under the prices. I implemented many new features in free jqGrid.

The implementation of multiselect feature is rewritten. The old code of jqGrid contained many placed where the multiselect column "cb" must exist and to be at the beginning of the grid. For example, free jqGrid have new option multiselectPosition: "left". You can use multiselectPosition: "right" to change the position of multiselect column. Additionally one can use remapColumnsByName (see the answer) or remapColumns to change the position of "cb" column (the column with multiselect checkboxes) and place it on any place in the grid. The main code of jqGrid is not depend on the position of the column and any place of the column is supported. One can specify any other value of multiselectPosition, for example, multiselectPosition: "none" (see the feature list, implemented in free jqGrid 4.9.0). It will create grid with multiselect functionality whithout any multiselect column at all.

There are many other option, like multiPageSelection: true, which can be very practical too (see the demo from the answer). Moreover one can use hasMultiselectCheckBox callback to specify that multiselect checkbox should be created only in some specific rows of the grid instead of the default creating the checkbox in all rows.


Post a Comment for "JQgrid - Getting Issue After Moving First Column Column(td) At Last Of Grid"