Jump to content

uniDbGrid Paged in Runtime


mikromundo

Recommended Posts

Hi mikromundo!

An alternative is to create the UniDBGrid at runtime, example:

var
  DBGrid : TUniDBGrid;
begin
  DBGrid := TUniDBGrid.Create(Self);
  DBGrid.Parent := UniContainerPanel1;
  DBGrid.Align := alClient;
  DBGrid.WebOptions.Paged := UniCheckBox1.Checked; // True or False
  DBGrid.DataSource := DataSource1;
end;

Best Regards!

Eduardo Belo

Link to comment
Share on other sites

Good morning ...

thanks buddy..but it will be the same ...

Look at this ...

I can do the first pagination ... grouping ... But I want to give the client an option to select several fields for possible grouping ..

so you have to turn off / on the paged ...

Then from the second it no longer works

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...