-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use a custom row template when mouse click selection is enabled #437
Comments
Hi! How to use this mechanism now in beta.2, when TemplateRenderer has been removed? |
Hi, |
@SergeyAlexeev Thank you! |
@SergeyAlexeev the way described in the updated demo works perfectly but I have a further problem: the default summary row doesn't work anymore. The grid fails render with this console error:
I guess I missed to pass some params to the custom row, but I can't figure out which they can be. Thanks in advance. |
@filippoitaliano I've added a summary row to the example. It works fine. |
Ok, You're right. It works. I was passing down the wrong |
@SergeyAlexeev How can I add hover, like this https://codesandbox.io/s/rylk1x324o in table and highlight selection plugin with enabled TableSelection Plugin? |
@SergeyAlexeev Please update for latest version of dxgrid, thanks. |
@SergeyAlexeev @lin-zy1229 Are we talking about a workaround here for a bug that has not yet been fixed, or is this really the way it is supposed to be. I have not been able yet to get this to work with 1.10.0 and material-ui. Workarounds are great, but wait, are they really? |
@SergeyAlexeev, However, RowStyle doesn't work. Any way to get done this? |
@lin-zy1229 Awesome, that worked. |
Type interface for |
Hi,
As you can see in our documentation, the I've updated the previously provided example to v.1.10.3 as well: BS3 - https://stackblitz.com/edit/react-rxlvns?file=index.js |
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. |
Hi all. |
According to the documentation, if you are using the
selectByRowClick
orhighlightSelected
property, thetableRowTemplate
property is ignored.Currently, there is no documented way to implement a custom table row template in this case. Yet, you can use our internal templating mechanism to achieve such a functionality.
This demo shows how to do this. Please take a look at the comments given in the code.
The text was updated successfully, but these errors were encountered: