Bug?: Cannot select the 4th row #2284
-
|
My grid has a column with custom formatter that renders a button "Tracking". When pressing said button I want to select the current row and get its data. So far every other buttons worked fine, except for the 4th row, it always select the 3rd row instead. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
simple, you can't use decimals in the row height, 62.75 is wrong, don't use that, SlickGrid can't calculate properly with decimal numbers. It works fine with 60 or 62. Using decimals is just a bad idea plain and simple, not just for SlickGrid but also for the DOM / CSS. TypeScript doesn't allow being more specific than |
Beta Was this translation helpful? Give feedback.
simple, you can't use decimals in the row height, 62.75 is wrong, don't use that, SlickGrid can't calculate properly with decimal numbers. It works fine with 60 or 62. Using decimals is just a bad idea plain and simple, not just for SlickGrid but also for the DOM / CSS.
TypeScript doesn't allow being more specific than
number, but technically speaking SlickGrid only supports integer for any height options