mikromundo Posted July 26, 2020 Share Posted July 26, 2020 I would to change PAGED in runtime, but don´t work. dbgSearchCRUD.WebOptions.Paged := not dbgSearchCRUD.WebOptions.Paged; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 27, 2020 Share Posted July 27, 2020 Hello, Not all properties can be changed at runtime. Quote Link to comment Share on other sites More sharing options...
mikromundo Posted July 27, 2020 Author Share Posted July 27, 2020 Thanks @Sherzod Quote Link to comment Share on other sites More sharing options...
belo Posted July 29, 2020 Share Posted July 29, 2020 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 Quote Link to comment Share on other sites More sharing options...
mikromundo Posted July 29, 2020 Author Share Posted July 29, 2020 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.