Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWjQDBGrid auto column width, autosize with
#3
(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!!
Reply


Messages In This Thread
RE: IWjQDBGrid auto column width, autosize with - by Comograma - 05-03-2021, 11:28 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)