jQWidgets Forums
jQuery UI Widgets › Forums › Getting Started › JqxGrid shift + mouse click selection problem
Tagged: jqxGrid ;
This topic contains 12 replies, has 4 voices, and was last updated by BONDbATIF 6 years, 5 months ago.
-
Author
-
Hi Guys ,
Need Urgent help
I have two Jqxgrid one is called colorgroup another is colors ,based on colorgroup row selection i am populating data in colors grid .Suppose user is selection 9 row in colors grid and after that user is switching to another row of colorgroup grid then again i will populate new data to colors grid(by default selection is 0 index) .Now the problem is if user is pressing shift +mouse click to 11 row index(colors grid) ,instead of selecting 0 to 11, colors grid is selecting 9 row index to 11 .
Now if user will click on first row of colors grid shift+ click selection is working fine .Hello BONDbATIF,
When you populate the new data in colors grid, what do you mean the default selection is 0? Do you call the
selectrow
method?
I have tested this Example and selecting with multiple rows by shift + click works fine.Best Regards,
MartinjQWidgets Team
http://www.jqwidgets.com/Yes i am calling selectrow method with rowid 0.But onrowclick is overriding again selectrow;
You example is normal case .In this case it is working fine .the problem is rowclick is overriding onrowselect selection .With new data selectrow is not working on shift+click .
Selecting is happening from last clicked(old data clicked) row to new clicked row .My code is in Angular 5.
Hello BONDbATIF,
Now I have reproduced this case.
Thank you for your feedback!
We will inspect further this behavior.Best Regards,
MartinjQWidgets Team
http://www.jqwidgets.com/Please check as soon as possible .In my project we are dealing with grid operation like delete ,add ,reorder. So selection is very important part of us.This is major issue for us. If you could give some workaround it would be very helpful for us .
hi i am fresher can anyone help me it very urgent in my combobox i have three option a,b,c and a is selected automatically its jqwidgets by default function or anything else if not so please reply me .i want to show when a is selected then b will be show as disable and when b is selected a show as disable.i can try with this code but not work please help me.
$(‘#hello’).on(‘select’, function (event) {
var args = event.args;
//console.log(“it is for selcet the item in box”+JSON.stringify(args));
if (args) {
// index represents the item’s index.
var index = args.index;
var item = args.item;
var label = item.label;
var id = item.id;
console.log(“id:”+index);
if (label === ‘a’)
{
$(“#network_tags”).jqxComboBox(‘disableItem’, ‘b’);
}
if(label === ‘b’)
{
$(“#network_tags”).jqxComboBox(‘disableItem’, ‘a’);
}
$scope.networkTagsSelected.push(label);
console.log(“$scope.networkTagsSelected: ” + JSON.stringify($scope.networkTagsSelected));
}
});i try it but it not work for me
Hello Hello123,
The item selected in the beginning depends on the
selectedIndex
. If it is not set, no item will be selected.
I have created an Example where ‘a’ or ‘b’ is disabled when the other one is selected,
as you asked.Please, post your questions in one topic only, in the relevant category, not duplicating it.
Thank you!Best Regards,
MartinjQWidgets Team
http://www.jqwidgets.com/Hi Team ,
Can i have any update on this bug.We waiting for this fix .
Hello BONDbATIF,
The issue is still valid.
Unfortunately, we can not engage with a date when it would be fixed.
You can check our Release History page to see all new fixes and updates.Best Regards,
MartinjQWidgets Team
http://www.jqwidgets.com/Hi Team ,
Can i get some rough idea when i can get fix .
What is the priority of this issue ?shift + click works with shift + click, i.e it starts from the clicked index and selects everything between start click and end click if you hold Shift. In this case, whether you call a selectrow or not does not matter. Only clicks matter.
Best Regards,
PeterjQWidgets Team
http://www.jqwidgets.com/Hi Team,
As per our license we have platinum support from jqxwigets.When can we expect fix for this.This is very impotent for our customer.
Thanks,
Gotam -
AuthorPosts
You must be logged in to reply to this topic.