Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Synchronize FDQuery and IWjQDBGrid
#1
Hello!

How do i synchronize the dataset with the grid? I want the current record in the dataset always to be the selected row in the grid.

I want it to work both ways, if i click in the grid the dataset should select a new current row, and if I programatically change the current row in the dataset (Eg. FDQuery.Next) the grid should be updated.

I also want the grid to always show the selected row! I tried  Options = [goViewRecords, goGridView, goHoverRows, goIgnoreCase, goScroll, goSortable, goZebraStriped, goRowSelect], but if I click on a already selected row in the grid the selection disappeares.

Best regards, Mikael
Reply


Messages In This Thread
Synchronize FDQuery and IWjQDBGrid - by Lenfors - 01-18-2022, 08:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)