Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
975
How to get/ set CSS class of a cell
posted

Hi all,

I would like to know how I could get/ set the css class of a particular cell in JavaScript? Thanks.

Parents
  • 20
    posted

    Is there really no way to configure custom class names for the table columns where you define the column array for a new grid?  Seems like this would be easy, and would save MUCHO clumsy hacking around using column indexes to assign css classes after the grid is rendered...?

    ...
    { headerText: "Product ID", key: "ProductID", dataType: "number", cssClass: "my_custom_classname" },
    ...
Reply Children
No Data