I have a listbox(JumpListBox) with ~500 items.
Listbox template is a grid which have two columns - checkbox and image;
To reproduce problem: I've checked two items, then I do scrolling, then I can see that checkbox not corresponding to item which was selected. When I do scrolling back to the item I was selected I see that items are not selected, but other items was selected.
I recorded a video and you can see a problem.
Related
I am using vaadin 22 grid with lazy loading. When I click on select all checkbox of grid, no item is selected except select-all checkbox on ui. While debugging the code I obeserved that in grid selection listener, selected item size is equal to the number of items in grid. But on ui the selection for all the item is not reflected.
Thanks in advance.
Thanks You Guys for the inputs,
Resolved the issue after adding equals and hashcode methods in dto object which are used as a data in Grid.
I need some event when my Kendo grid lose selection (no row selected).
https://dojo.telerik.com/#nick_kingston/IjIYOduw
Select one or more rows.
Filter by some field that so no selected rows show.
Expecting event appearance because now no row selected.
How to implement item 3?
There is no event like lostSelection. The change-event triggers if the user changes the selection only.
Once the filter was executed, the dataBound-event is triggered (as you can see on the demo page https://demos.telerik.com/kendo-ui/grid/events). There you could check for the list of selected items with the method select (https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/methods/select)
When right clicking on a cell view in a view based table view with an assigned menu the cell's row gets a blue outline and the context menu appears. How do I get the index of that row? The property clickedRow only works for cell based table views.
Note: my question is significantly different in that I need a solution for menu updates es explained previously:
I need the clicked row in the menuNeedsUpdate function when creating the new menu.
It appears that clickedRow indeed also works for view based table views, but it's not yet set in menuNeedsUpdate. So it cannot be used to adjust the items in the menu (e.g. show specific items only that apply to the clicked row). However, you can use the menu validation to enable/disable entries (there the clicked row value is set finally).
I am playing with this example by Kendo: http://dojo.telerik.com/EneFe
I have modified it so that the rows are selectable (selectable:true).
I have added a button on the top which calls the grid.clearSelection() function.
This is supposed to clear all selection but it does not clear the selection of rows that are selected in the dropdown table. (Recreate: click on the first row "Nancy", expand it and click on "10258 - Austria", then click the "Clear Selection" button and only "Nancy" will clear)
Is the function not working properly or am I misusing it?
In any case - how can I achieve a total clearing of all selected rows?
This is because they are two separate grids. Check this:
http://dojo.telerik.com/EneFe/2
I have 2 grids on a form.
Both grids are binded to object Panel and PanelLines.
If user click first panel grid, the second panel line grid will show the related panel lines.
If the user clicks the panel grid on the same cell again, I want panel line grid to scroll rows as such visible rows hide and bottom rows show up.
The following code does the scrolling part.
dgvPanelItem.FirstDisplayedScrollingRowIndex = dgvPanelItem.DisplayedRowCount(False) - 1
But I need help in finding out, if first grid ( panel grid ) is already clicked or not.
Put a static variable flag, this should solve the specified problem