Sample: dhtmlxGrid Setting Grid styles dhtmlxGrid main page
X

There are two ways to set grid styles:

  • using modified style sheet
  • changing parameters on the fly using script methods
  • Styles:
  • Default Style
  • M1 Style
  • M2 Style

  •  
    <div id="gridbox" width="100%" height="250px" style="background-color:white;overflow:hidden"></div>
    <script>
     
            mygrid = new dhtmlXGridObject('gridbox');
            ...
            mygrid.init();
            mygrid.loadXML("grid.xml");
    </script>