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
20
Row Height of the Web Data Grid
posted

Hi,

1. How to set the default row height for the WebDataGrid control

2. How to set the Empty Data Text?

3. How to adjust the height of the header?

Thanks in advance

Vinay

  • 2783
    Suggested Answer
    posted

    Hi,

    You can style the header by assigning your own CSS class to the HeaderCaptionCssClass property.  You can style the row height by assigning your own CSS class to the ItemCssClass property.  When creating your CSS classes please be aware that WDG uses CSS selectors and you'll need to match these.  (The easiest way would be to change these styles in AppStylist).

    I am not sure what you mean by the Empty Data Text , but if you mean when the grid has no rows, how to change the text that gets displayed there, you can create an Empty Rows Template, for the grid.

    Thanks,

    Olga