Bernie07 Posted August 18, 2021 Share Posted August 18, 2021 Hello, I want to select the current row programatically. I found the following in the forum : UniSession.AddJS(gridDaten.JSName + '.getSelectionModel().select('+ gridDaten.JSName +'.getStore().data.indexOfKey('+ IntToStr(iRecNo) +'), true)'); But I don't know how can I get the RecNo. gridDaten.CurrRow is always -1. I tried also the .RecNo of my MemoryDataset. But then it select the wrong row. Can please somebody give me a hint? Best wishes Bernhard Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 18, 2021 Share Posted August 18, 2021 8 minutes ago, Bernie07 said: I tried also the .RecNo of my MemoryDataset. But then it select the wrong row. Hello, RecNo - 1 ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.