ParamQuery

General Category => Help for ParamQuery Pro => Topic started by: hideki.yoshikura on July 15, 2020, 09:46:16 am

Title: How to make selected cells non-editable
Post by: hideki.yoshikura on July 15, 2020, 09:46:16 am
Hi,

Param query version is using 6.2.4.
I want to change the attribute of the selected cell (grid.Selection ().getSelection ()) of the grid at some action (when clicking a button, etc.).
The attributes to change are:
editable:false

Please tell me how to implement it.
Title: Re: How to make selected cells non-editable
Post by: paramvir on July 15, 2020, 04:04:42 pm
Changing editability of a selection is supported in version >= 7 only

Code: [Select]
  grid.Selection().enable( true );

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

https://paramquery.com/pro/api#method-Selection
Title: Re: How to make selected cells non-editable
Post by: hideki.yoshikura on July 16, 2020, 10:46:22 am
Thank you for answering