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 have a form with a syncfusion tab control and two tab pages. Each page has a grid control on it that is anchored on all sides.
When I resize the form I have code that is called to adjust the column widths of the two grids. However only the grid that is in the visible tab gets resized, the code does get run for the other grid and my debug output for the grid.model.colwidths does indicate the new size however when I switch tabs it is back to the last size.
ADAdministrator Syncfusion Team June 16, 2005 08:20 PM UTC
When the other tab is being displayed, try calling grid.ResetVolatileData() on the tab''s grid to see if that will make this problem go away. (You could also try calling it immedaitely after setting these colwidths on the hidden grid.)
ADAdministrator Syncfusion Team June 16, 2005 08:39 PM UTC
Calling grid.Model.ResetVolatileData() does nothing.
ADAdministrator Syncfusion Team June 17, 2005 01:14 AM UTC
I got this working by resetting the colwidths ''shortly'' after the tabpage is shown. This is done by using a timer in the SelectedIndexChanged event.
http://www.syncfusion.com/Support/user/uploads/GDBG_Tab_58a2d34f.zip