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.
ADAdministrator Syncfusion Team August 8, 2005 08:35 AM UTC
If the horizontal scrollbar is visible, you can avoid the gap on the right by setting:
this.grid.HScrollPixel = true;
If you have fewer columns than will occupy the grid''s client area (so the scrollbar is not visible), you can handle an event and make the right most column fill up the client aree;
//the event
this.grid.Model.QueryColWidth += new GridRowColSizeEventHandler(Model_QueryColWidth);
//the handler
private void Model_QueryColWidth(object sender, GridRowColSizeEventArgs e)
{
if (this.fillLastColumn && e.Index == Grid.ColCount)
{
int width = Grid.ColCount <= 0 ? 0 : Grid.ColWidths.GetTotal(0, Grid.ColCount-1);
e.Size = Grid.ClientRectangle.Width-width;
e.Handled = true;
}
}