Jump to content

Grid with dbnavigator embedded


delagoutte

Recommended Posts

  • 1 year later...
  • 1 month later...

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
Link to comment
Share on other sites

×
×
  • Create New...