Ivar B. Jessen
2004-01-20 16:22:59 UTC
The following bug(s) were mentioned in the programming group by Rod Jones in a
posting with the heading: New grid editor not read-only?
Notice the following setting in the code below,
rowset.fields["Description"].readOnly = true
The bug to be described will also be seen with the setting,
rowset.autoEdit = false
Run the code and scroll to the 'Description' column, click on the first row
and the editor opens. Try editing the text and confirm that it is read-only.
Close the editor by clicking on a different column or row. This results in,
Alert
Error: Property is read only.
Click OK and click on the second row to open the editor in that row. Notice
that it is not possible to open said editor.
After attempting to open the editor in other rows I generally end up with a
GPF.
Notice also that if the setting is,
GRID1.allowEditing = false
it is impossible to open the editor and thus impossible to read more than the
first line of text.
Ivar B. Jessen
posting with the heading: New grid editor not read-only?
Notice the following setting in the code below,
rowset.fields["Description"].readOnly = true
The bug to be described will also be seen with the setting,
rowset.autoEdit = false
Run the code and scroll to the 'Description' column, click on the first row
and the editor opens. Try editing the text and confirm that it is read-only.
Close the editor by clicking on a different column or row. This results in,
Alert
Error: Property is read only.
Click OK and click on the second row to open the editor in that row. Notice
that it is not possible to open said editor.
After attempting to open the editor in other rows I generally end up with a
GPF.
Notice also that if the setting is,
GRID1.allowEditing = false
it is impossible to open the editor and thus impossible to read more than the
first line of text.
Ivar B. Jessen