Hi, I'd like to have some per-column css classes to customize the look of some columns (in particular the first and last column, but there are also other usecases)
Would it be possible to make jqgrid emit
I gave it a try and came up with something like this patch, but I am not sure if it is the best way to do it…
diff –git a/js/grid.base.js b/js/grid.base.js
index 5074e7c..95ed716 100644
— a/js/grid.base.js
+++ b/js/grid.base.js
@@ -1036,6 +1036,11 @@ $.fn.jqGrid = function( p ) {
if(ts.p.scroll===true){
ts.p.pgbuttons = false; ts.p.pginput=false; ts.p.rowList=[];
}
+ for(i=0;i
+ var colgrp = “
“;
+ $(this).append(colgrp);
+ }
var thead = “
then you can specify the colclass css class in the colmodel:
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top