Author Topic: dcl_Grid_SetCellStyle - Please help  (Read 896 times)

Jim Short

  • Full Member
  • ***
  • Posts: 170
    • Tahl Inc
dcl_Grid_SetCellStyle - Please help
« on: December 04, 2012, 05:41:47 PM »
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

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1808
  • [ Mr. Bad Guy ]
    • Kommunale Entwicklungsplanung auf digitaler Basis - digital landscape and urban design
Re: dcl_Grid_SetCellStyle - Please help
« Reply #1 on: December 05, 2012, 11:36:01 PM »
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

  • Full Member
  • ***
  • Posts: 170
    • Tahl Inc
Re: dcl_Grid_SetCellStyle - Please help
« Reply #2 on: December 06, 2012, 05:41:50 PM »
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