Author Topic: SelectModel: Cell (for editing), but Row for selecting  (Read 2314 times)

Webauthor

  • Pro OEM
  • Jr. Member
  • *
  • Posts: 51
    • View Profile
SelectModel: Cell (for editing), but Row for selecting
« on: January 18, 2020, 02:06:54 am »
Wondering if this would be possible.  I would like to have the grid in editing mode so individual cells can be selected for editing, but also if you clicked on the row numbers on the left of the grid, it would activate row selections so you can do ranges, etc.

Is this something that can be made possible?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: SelectModel: Cell (for editing), but Row for selecting
« Reply #1 on: January 20, 2020, 04:05:59 pm »
Both row ( upon clicking on number cell ) and cell selections can be done simultaneously by default.

https://paramquery.com/pro/demos/selection_cell

Webauthor

  • Pro OEM
  • Jr. Member
  • *
  • Posts: 51
    • View Profile
Re: SelectModel: Cell (for editing), but Row for selecting
« Reply #2 on: January 21, 2020, 07:02:03 am »
Thanks, I see that, but the range selections don't work with the clicks on the number cells.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: SelectModel: Cell (for editing), but Row for selecting
« Reply #3 on: January 21, 2020, 09:24:15 am »
range selections are based on Range object and work fine with click on number cells.

https://paramquery.com/pro/api#method-Range

Please share a jsfiddle what issue you are facing with range selections.