question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deselecting a row on click doesn't work when cellEdit is true

See original GitHub issue

I am having an issue with rows not deselecting when clicked on (selecting works fine) with cellEdit in place. There are 3 columns of which only the last one is editable, clicking on the row in column 1 or 2 doesn’t deselect the row, right now deselecting only works when you click the checkbox. I am using the following settings for selectRow and cellEdit:

var selectRowProp = {
      mode: "checkbox",
      clickToSelect: true,
      clickToSelectAndEditCell: true,
      className: 'success',
      selected: selected,
      hideSelectColumn: false,
      onSelect: this.handleRowSelect
    };
    var cellEdit = {
      mode: "click",
      blurToSave: true
    };

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jeroenbrouwercommented, Apr 6, 2016

Alright! After discovering it myself, some of my test users also discovered it themselves hehe 😃

1reaction
jeroenbrouwercommented, Mar 31, 2016

Sweet! Thanks for the quick replies and the great module 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

JQGrid-SetSelection Not working while edit cell is true
The first row selection works fine with the cellEdit:false. When I make the cellEdit:true , the selection will not change if I click...
Read more >
App Designer UITable Cell Selection Callback event for ...
The Callback that treats Deselecting is the ButtonDown Callback of the App Main Figure, and it is invoked when the user clicks on...
Read more >
jQuery Grid Plugin - jqGridForum
Hi,. Is it possible to programatically select a row when the CellEdit property is set to "true"? According to my experience the highlight...
Read more >
Keyboard and Mouse Behavior in the DataGrid Control ...
CTRL+click a row, If SelectionMode is set to Extended, modifies a non-contiguous multi-row selection. If the row is already selected, deselects ...
Read more >
JavaScript Data Grid: Start / Stop Cell Editing
There is a grid property singleClickEdit that will allow single-click to start ... Pass true if you want to cancel the editing (i.e....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found