optikalefx / OpenJS-Grid

OpenJS Grid is the easiest jQuery Grid ever. With very little work you can have a data grid that can do everything from sorting and searching to complex database queries. Best of all, its open source. So you can learn how it's all done.
http://square-bracket.com/openjs
MIT License
96 stars 46 forks source link

Row acces for hover und stipe row with (odd) & (even) #49

Closed g-audio closed 9 years ago

g-audio commented 10 years ago

hello, can i get a hint where the best point to start for hover and stripe row with css (odd) & (even) and line height maybe without bootstap it´s to much for some devices. thanks

g-audio commented 10 years ago

My post is embarrassing this grid is real great to learn OO, thanks

For other beginners my investigation. row hover: grid.js line 254 comment out the item "row hover" css = line 150 "div.gridWrapper .columns .cell.row-hover"

stipe row add in css div.gridWrapper .columns .cell:nth-of-type(odd) { background-color: #FFFFFF; } div.gridWrapper .columns .cell:nth-of-type(even) { background-color: #FFFFDD; }