-
Notifications
You must be signed in to change notification settings - Fork 5
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
Click on row removed Datagrid #98
Comments
As seen together on the phone, you can pass a function as rowClick and build a URL containing the query parameters busing |
Hi, Francois!
I checked it, by disabling these rows:
In this case we can see console.log() results. But when we try to use I tried to add
But in all cases console.log() doesn't appear in Console. |
@tony-shannon @PhilBarrett And it works!!! |
@fzaninotto
Hi, Francois! Right now I found new issue.
Let's look at the video:
https://drive.google.com/file/d/1GqvCtBPnVX8Xkp1qYcT-1T21KsujMb41/view
When we click on the row at the page 2 and more, content of ids array in Store (I mean admin.resources.allergies.list.ids) is removed, and we can see only one id here - id of item, which we click on.
This problem is absent only at first page of list (paginator = 1).
My assumption: it is because program don't know current page=X and perPage=Y.
Because when I try to use URL like:
/{resourseName}/{id}?page=2&perPage=10
the problem is absent:
I can try to find a way how to add page and perPage to URL when we click on row, but is it true way?
The text was updated successfully, but these errors were encountered: