how to keep colors for cells on sorting of jq grid

Posted by Manorama under jQuery on 11/7/2013 | Points: 10 | Views : 5929 | Status : [Member] | Replies : 3
hi all,


here i am using jq grid.i have one condition based on that i need to display data in red/green color.its displaying fine.but once i click on header for sorting entire column is coming into one color either green/red.its voilting that condition after sorting.so,please guide me on this.

ManoRama


Responses

Posted by: vishalneeraj-24503 on: 11/7/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Hi please refer below links:-

http://stackoverflow.com/questions/3908171/jqgrid-change-row-background-color-based-on-condition
http://www.trirand.net/forum/default.aspx?g=posts&m=2678

http://www.codeproject.com/Articles/609442/Using-JqGrid-in-ASP-NET
http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxgrid/jquery-grid-cellsrendering.htm

Manorama, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 11/8/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
http://stackoverflow.com/questions/16084779/jqgrid-setcell-properties-lost-when-sorting-column
http://stackoverflow.com/questions/4069471/jqgrid-setting-bg-color-on-column-cells-when-column-header-is-clicked
http://stackoverflow.com/questions/6575192/jqgrid-change-background-color-of-row-based-on-row-cell-value-by-column-name

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Manorama, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 11/8/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
You can see the blow link:-

http://stackoverflow.com/questions/16084779/jqgrid-setcell-properties-lost-when-sorting-column

Happy Coding,
If it helps you or directs U towards the solution, MARK IT AS ANSWER

Manorama, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response