DHTML JavaScript Grid samples

Setting Grid styles

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>

    Go to the dhtmlxGrid main page or Close this page