I want to make all my first row cells look like the headers color style.
abcdefg1 xxxxx2 xxxxx3 xxxxx4 xxxxx
So It looks sort of like the above. I would also like the widths of the cells not to be changeable only for the first column in the rows.
Hi seang,
You can achieve this functionality by going through the cells in the first column and then assign to the element the same class that we assign to the header: ui-widget-header:
$("#grid1").igGrid("allRows").each(
function(i){
$($("#grid1").igGrid("cellAt",0,i)).addClass("ui-widget-header")
}
)
Please let me know if this helps.
Hello seang,
Do not hesitate to contact me if you have any additional questions regarding this matter.