Jump to content
uniGUI Discussion Forums
delagoutte

Grid with dbnavigator embedded

Recommended Posts

Is it possible to have a unidbgrid with a unidbnavigator embedded like this image :

post-892-0-83438300-1471439234_thumb.png

  • Upvote 1

Share this post


Link to post
Share on other sites

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

×