dcl_Grid_SetCellStyle - Please help

Started by Jim Short, December 04, 2012, 04:41:47 PM

Previous topic - Next topic

Jim Short

ODCL 7.0.0.6 Acad2K4

Modal form Grid has three columns: 0, 1, 2
0 is grayed out 0-decide at runtime
1 is 0-decide at runtime
2 is 6-text

dcl_Grid_SetCellStyle returns true for all rows in col 1 but can not edit those cell at all.
What can prevent setting cell style from succeeding? or What makes cells read only?
Is column 0 always gray and readonly?

Jim
Jim Short

Fred Tomke

Hi, Jim, have you already checked the rowheader property?
Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Jim Short

OpenDCL is working as expected. It just did not expect me to do what I did. In order to set a cell style for a cell, the cell label must be an empty string, otherwise the cell style will not change. Also, the cells column must be set by design to decide at runtime. If no cell style change is requested the cell will not be editable.

Jim
Jim Short