SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

setSelectedRows does not set the activeRow property.

Open coreConvention opened this issue 5 years ago • 2 comments

If you have a row selected and need to programatically change the selected row, calling setSelectedRows does not set the active css class on the rows sent to the function. You have to call setActiveCell to force the grid to apply the css class to the row. Perhaps this is not a bug, as it makes sense to force it to select a specific cell so you maintain context, but then what is the point of setSelectedRows otherwise?

coreConvention avatar Jul 15 '19 17:07 coreConvention

@6pac Think this might be to do with the last change to the plugin that I still haven't managed to find time to revert. #345

SatanEnglish avatar Jul 15 '19 21:07 SatanEnglish

I think this issue was fixed by latest PR #447 @coreConvention could you confirm

ghiscoding avatar Dec 24 '19 22:12 ghiscoding

I assume this is fixed by PR #447, feel free to reopen if this is still a bug

ghiscoding avatar May 12 '23 22:05 ghiscoding