Categories | Question details Back To List | ||
Is there a way to set css style on a per-cell basis
with your dhtmlXGrid?... Is there a way to set css style on a per-cell basis with your dhtmlXGrid? Answer posted on Mar 05, 2007 09:42 Version 1.0 of grid support 2 methods for defining CSS styles for individual
cells: a) You can enable unique ID for cells: grid.enableCellIds(true); and use ID based css styles <style> #c_A15_2{ background color:green; color:white; } // style for cell with index 2 on row with ID=A15 </style>
b) You can use javascript for setting some styles to any cell: fris.cells("A15",2).setBgColor("green"); fris.cells("A15",2).setTextColor("white"); fris.cells("A15",2).setFont("Arial-bold-12px"); Answer posted by Embre (Support) on Dec 06, 2014 17:50 The information connected with javascript and ajax for the web and ajax progress bar php also can help you, so please check it too. |