Setting a Data Grid to readonly
Posted: Fri Feb 03, 2023 6:20 pm
I thought, a code line like
would correspond to the Data Grid property readOnly set (by checkbox which equals to true), but that's not the case, at least in Servoy Developer 202206. What is the intention of this Data Grid property readOnly?
By the way, when setting a Data Grid to readOnly, the onCellClick event is still executed. Does not sound logical to me, as readonly means to me a user can't do anything. Is there a reason for this behaviour?
Thanks for clarifying and best regards,
- Code: Select all
elements.gridExamDefinitions.readOnly = true;
would correspond to the Data Grid property readOnly set (by checkbox which equals to true), but that's not the case, at least in Servoy Developer 202206. What is the intention of this Data Grid property readOnly?
By the way, when setting a Data Grid to readOnly, the onCellClick event is still executed. Does not sound logical to me, as readonly means to me a user can't do anything. Is there a reason for this behaviour?
Thanks for clarifying and best regards,