How to traversal all the cell in a grid? I want to get all the cell and color them by the cell ,means I must get the row's dateitem and the cell's coloumn header?
1 Answer, 1 is accepted
0
Iliana Dyankova
Telerik team
answered on 23 Apr 2013, 11:32 AM
Hello PEIYANG,
I am not quite sure if I understand your scenario, but if you would like to set color to the Grid's cells you could use the following CSS rule:
<style>
.k-grid table td{
background: red; //specify the cell's background
}
</style>
In case you are requesting a different functionality, please elaborate a bit more on the exact outcome you would like to achieve. This way I would be able to advice you further and provide concrete recommendations. Thank you in advance for your cooperation.
Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!