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
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