jQuery UI Widgets Forums Getting Started JqxGrid shift + mouse click selection problem

Tagged: 

This topic contains 11 replies, has 4 voices, and was last updated by  Peter Stoev 2 days, 16 hours ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author

  • BONDbATIF
    Participant

    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 .


    Martin
    Participant

    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,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/


    BONDbATIF
    Participant

    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 .

    • This reply was modified 2 months ago by  BONDbATIF.

    BONDbATIF
    Participant

    My code is in Angular 5.


    Martin
    Participant

    Hello BONDbATIF,

    Now I have reproduced this case.
    Thank you for your feedback!
    We will inspect further this behavior.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/


    BONDbATIF
    Participant

    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 .


    Hello123
    Participant

    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

    • This reply was modified 2 months ago by  Hello123.
    • This reply was modified 2 months ago by  Hello123.

    Martin
    Participant

    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,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/


    BONDbATIF
    Participant

    Hi Team ,

    Can i have any update on this bug.We waiting for this fix .


    Martin
    Participant

    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,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/


    BONDbATIF
    Participant

    Hi Team ,

    Can i get some rough idea when i can get fix .
    What is the priority of this issue ?


    Peter Stoev
    Keymaster

    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,
    Peter

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.