aggrid-groupingtable not readOnly

Hello,
Iam creating a new project for NG-client and have a problem with the aggrid-groupingtable.
We are using browse/edit mode and therefore it’s necessarry to switch between readonly/readWrite at runtime.

The columns in my aggrid-groupingtable have an ID and editType and I want to make the whole table readonly based on the current status. Normally I use controller.readonly = true. This is working fine on detail forms with fields but the columns in the grid are still editable.
I tried setReadOnly on the columns, too, but nothing changed.

Is this a bug or what am I doing wrong?

hi,
use the setReadOnly api, see here: https://github.com/Servoy/aggridcompone … -table-api

Hello Gabi,
it doesn’t work as you can see in the attachments. :-(
Any ideas?

[attachment=1]grid.png[/attachment]
[attachment=2]grid2.png[/attachment]

just did a quick test, for me it works fine; can you replicate in a sample when it does not work?

Hi,
yes, I created a small sample solution. See the file attached.

testSolution.servoy (6.3 KB)

I see the issue and created a ticket for this ( https://support.servoy.com/browse/SVY-15512 ) - it is a regression in 2.6.0 (2.5.1 should work fine)

Perfect, many thanks for your quick support.

the issue has been fixed in the just released version 2.6.2 of NG Grids