2009-10-20 19:56 UTC
I have a grid with a column of check boxes. For the first 13 or so, I cannot change the check once it has been checked. for the remaining boxes, I can turn them on and off as expected. Here is the code I use to populate the grid along with a sample of the data at the top. This is is on 5.1.0.2 and i tried it on the latest version I could download and it did the same. Is there something I'm doing wrong or is it a bug?
;Attr Width Just Title CheckboxTitle Checkstate Order
;("ROOM_NUMBER" "1\"" "Left" "ROOM NO." "" 1 "1")
(dcl_Grid_FillList Schedule-Room_Form1_Grid2 lstOrderList)
(setq count 0)
(while (< count (length lstOrderList))
(dcl_Grid_SetCellCheckState Schedule-Room_Form1_Grid2 count 4 (nth 5 (nth count lstOrderList)))
(setq count (1+ count))
)
thanks,
CJ
;Attr Width Just Title CheckboxTitle Checkstate Order
;("ROOM_NUMBER" "1\"" "Left" "ROOM NO." "" 1 "1")
(dcl_Grid_FillList Schedule-Room_Form1_Grid2 lstOrderList)
(setq count 0)
(while (< count (length lstOrderList))
(dcl_Grid_SetCellCheckState Schedule-Room_Form1_Grid2 count 4 (nth 5 (nth count lstOrderList)))
(setq count (1+ count))
)
thanks,
CJ
