-
Hi, I've set up my datagrid so the very first column is a link icon that links to a specific page. But I'd like to have the cursor change to Currently I've got it set up like this: const handleItemHover = (args) => {
if (args.kind === 'cell' && args.location[0] === 0 ) {
document.getElementById('asset-grid').style.cursor = 'pointer'; // Potential implementation
console.log('hovering over first column')
}
}
<DataEditor onItemHovered={handleItemHover} /> But it seems that the Data Grid overrules these style changes. Is there a way to enable a specific cursor on certain cells? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
This is now possible to set on a cell by cell basis in 5.0.0 :) |
Beta Was this translation helpful? Give feedback.
-
Sorry in 5.0.0 the method to do this is to set |
Beta Was this translation helpful? Give feedback.
-
1 to 4 weeks. |
Beta Was this translation helpful? Give feedback.
-
There are 4.99.0-alphaX packages out now you can play with. They are pretty much production ready if you don't have any problems with transpilation (we moved to esbuild). |
Beta Was this translation helpful? Give feedback.
This is now possible to set on a cell by cell basis in 5.0.0 :)