Jump to content
uniGUI Discussion Forums
delagoutte

Grid with dbnavigator embedded

Recommended Posts

You can do it manually by yourself

Share this post


Link to post
Share on other sites

Hello,

 

It's easy :)

 

Do the following, for example:

 

1. UniHiddenPanel1 -> UniDBNavigator1 !

 

2. UniDBNavigator1.DataSource -> ...

 

3. MainForm  -> OnReady event:

procedure TMainForm.UniFormReady(Sender: TObject);
begin
  with UniDBGrid1, UniDBGrid1.JSInterface do
    if WebOptions.Paged then
    begin
      JSCall('pagingBar.add', ['->']);
      JSCall('pagingBar.add', [UniDBNavigator1.JSControl]);
    end;
end;

Try...

 

Best regards,

  • Upvote 2

Share this post


Link to post
Share on other sites

×