jQuery UI Widgets › Forums › Angular › Grid scroll after row select
Tagged: #jqwidgets-grid, grid, Grid Scroll, javascript grid, jquery grid
This topic contains 9 replies, has 2 voices, and was last updated by TSKishore 6 years, 5 months ago.
-
Author
-
Hi
I have a grid with multiple selection mode.
The grid has many rows and scroll is enabled, if I select the checkbox column the scroll doesn’t work.
(“select/click” the column and not “check/uncheck”)Thanks,
KishoreHello Kishore,
Could you clarify your issue?
I tested this example and it seems to work fine.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comHello Hristo,
In the example you have mentioned, there is no scroll bar.
In my jqxGrid, scrollbar is present and when the cell of the checkbox is clicked, scroll doesnt work.Thanks,
KishoreHello Kishore,
Please, provide us with a simplified example that demonstrates your issue.
Because I tested this example and it seems to work fine.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comHi Hristo,
Few changes to your example, will reproduce the issue.
$(“#jqxgrid”).jqxGrid({
width: 550,
source: dataAdapter,
showfilterrow: true,
filterable: true,
editable: true,
selectionmode: ‘multiplerowsadvanced’,
columns: [
{ text: ‘Name’, columntype: ‘textbox’, filtertype: ‘checkedlist’, datafield: ‘myfield’, editable: false },
{
text: ‘Product’, filtertype: ‘checkedlist’, datafield: ‘productname’, editable: false
},
{ text: ‘Available’, datafield: ‘available’, columntype: ‘checkbox’, filtertype: ‘bool’, width: 67, editable: true },
{ text: ‘Ship Date’, datafield: ‘date’, filtertype: ‘range’, editable: false, cellsalign: ‘right’, cellsformat: ‘d’ },
{ text: ‘Qty.’, datafield: ‘quantity’, filtertype: ‘number’, cellsalign: ‘right’ }
]
});Hello Kishore,
Could clarify it? I add your settings in the example and it seems to work fine again.
How to reproduce it?Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comHello Hristo,
Its reproducible in your example.
You need to select the cell and not the checkbox. once you select the checkbox cell (not check/uncheck), scroll doesn’t work.Thanks,
KishoreHi,
Observed 1 scenario:
If we click on any editable cell then the scroll doesn’t work after that.*Scroll – with the mouse wheel button.
Hello Kishore,
Thank you for this clarification. (with the mouse wheel)
It happens because when you click on the checkbox cell it turns on into the edit mode.
You should press ‘Enter’ (or ‘Esc’) to finish with this operation and after that, you could continue.
In this ,situation you could addeditmode: 'dblclick'
to prevent from the default setting which is “selectedcell”.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comThank You
-
AuthorPosts
You must be logged in to reply to this topic.