05-03-2021, 11:28 AM
(04-23-2021, 07:57 PM)Alexandre Machado Wrote: I believe you are resizing the grid when the page is also resized, is that correct?
I think you will need to work with OnAsyncResize event of the form and reset the grid auto width property. I'll see if I can put a demo together... hold on
Yes, correct.
On OnAsyncResize event of the form I'm doing:
IWjQDBGrid1.Options := IWjQDBGrid1.Options - [goAutoGridWidth, goAutoColumnWidth];
IWjQDBGrid1.Options := IWjQDBGrid1.Options + [goAutoGridWidth, goAutoColumnWidth];
//IWjQDBGrid1.RefreshData; // tried this
//IWjQDBGrid1.RefreshAsyncRender; // tried this
I think the event doesn't fire up!!

