The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I''m changing the background of a cell in a grid based on whether it is in the currently selected row and/or column.
However, the column can only be shaded as far as the last cell in the column by using this method. In the case where the grid client area displays empty space because there aren''t enough cells to fill the area, I''d like the shading to extend to the bottom of the client area of the grid.
Any ideas how I might achieve this, short of padding the grid out with "extra" cells?
ADAdministrator Syncfusion Team February 9, 2005 03:59 PM UTC
Is
grid.Model.Options.DisplayEmptyRows = true;
ok for you?
Stefan
>I''m changing the background of a cell in a grid based on whether it is in the currently selected row and/or column.
>
>However, the column can only be shaded as far as the last cell in the column by using this method. In the case where the grid client area displays empty space because there aren''t enough cells to fill the area, I''d like the shading to extend to the bottom of the client area of the grid.
>
>Any ideas how I might achieve this, short of padding the grid out with "extra" cells?
MWMike WoolleyFebruary 9, 2005 05:05 PM UTC
Many thanks, that''s certainly what I was after. How can I set the backcolor and borders for these empty cells?