Jump to content


Photo

Grid with dbnavigator embedded


  • Please log in to reply
6 replies to this topic

#1 delagoutte

delagoutte

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 364 posts

Posted 17 August 2016 - 01:08 PM

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

Attached File  gridwithdbnav.png   17.36KB   18 downloads


  • 1

#2 M477H13U

M477H13U

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 139 posts
  • LocationAix-en-Provence

Posted 01 December 2017 - 08:42 AM

We are interested by a behaviour like this ! (:


  • 0

M477h13U,

 

UniGUIVersion: 1.10.0.1458.


#3 mohammad

mohammad

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 844 posts
  • LocationKufur Kassem, Palestine

Posted 01 December 2017 - 09:09 AM

You can do it manually by yourself
  • 0

#4 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 5293 posts

Posted 01 December 2017 - 11:30 AM

Hi,

 

Also we can try to embed the standard UniDBNavigator

 

Attached File  pagingBarWithUniDBNavigator.png   63.5KB   8 downloads


  • 0

#5 Freeman35

Freeman35

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 367 posts

Posted 24 January 2018 - 08:21 AM

Hello,

How to do this?

Thank you.

 

Hi,

 

Also we can try to embed the standard UniDBNavigator

 

attachicon.gifpagingBarWithUniDBNavigator.png


  • 0

#6 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 5293 posts

Posted 24 January 2018 - 09:38 AM

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,


  • 2

#7 Freeman35

Freeman35

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 367 posts

Posted 24 January 2018 - 10:10 AM

Its so easy now for me too :)

Thank you.

regards


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users