| Sample: dhtmlxGrid | Alternative styles for even/uneven rows | dhtmlxGrid main page |

Add row Remove Selected Row

    <style>
        .even{
            background-color:#E6E6FA;
        }
        .uneven{
            background-color:#F0F8FF;
        }
    </style>
    <div id="gridbox" width="100%" height="250px" style="background-color:white;overflow:hidden"></div>
    <script>
        mygrid = new dhtmlXGridObject('gridbox');
        mygrid.init();
            mygrid.enableAlterCss("even","uneven");
        mygrid.loadXML("grid.xml");</script>