jQWidgets Forums

jQuery UI Widgets Forums Grid DropDown Cell Dragging In Grid

This topic contains 6 replies, has 3 voices, and was last updated by  ugurcan 4 years, 10 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • DropDown Cell Dragging In Grid #112391

    ugurcan
    Participant

    Hello, there is a column in the grid with a dropdown type. I am looking for a feature like ctrl + drag down feature in excel if I will make the same selection in other cells after selecting one of the dropdown cells. Is it possible to do this with jqxgrid?
    Thanks,

    DropDown Cell Dragging In Grid #112399

    Martin
    Participant

    Hello ugurcan,

    Please, check if this Example is what you are trying to achieve.
    You need to set the selectionmode property to “multiplecellsadvanced”.

    Best Regards,
    Martin

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

    DropDown Cell Dragging In Grid #112412

    ugurcan
    Participant

    Yes but i want to use this property in a column whose type is dropdownlist. After making a selection from the dropdownlist on the first row, I want to copy this selection and paste it into the dropdown on the next rows. Frankly, I couldn’t comprehend how I could do this.
    Thanks so much for help,

    Best Regards,

    DropDown Cell Dragging In Grid #112430

    Martin
    Participant

    Hello ugurcan,

    Please, take a look at the following Example.
    There is no such feature as ctrl + drag in Excel but you can copy a cell of the dropdownlist column and select multiple other cells to paste the value with ctrl + v.

    Best Regards,
    Martin

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

    DropDown Cell Dragging In Grid #112638

    ugurcan
    Participant

    Hello Martin,
    Thanks, it’s works. Now i have another problem. When I want to make a selection on dropdown, I have to left click on that cell 3 times. Is it possible to do this with 2 left clicks?

    DropDown Cell Dragging In Grid #112640

    admin
    Keymaster

    Hi ugurcan,

    You can use the ‘initeditor’ and call the jqxDropDownList’s ‘open’ method.

    Example:

    {
              text: 'Product',
              datafield: 'productname',
              columntype: 'dropdownlist',
              initeditor: function(row, column, editor) {
              	editor.jqxDropDownList('open');
              },
              width: 180
          }

    Best Regards,
    Peter Stoev

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

    DropDown Cell Dragging In Grid #112655

    ugurcan
    Participant

    that’s great, thank you so much.

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

You must be logged in to reply to this topic.