dcl-Grid-setCelltext with no result ...

Started by Peter2 · 2024-01-29 17:49 UTC · 1 replies · SMF topic #2906

With the open dialogue I tried this code:

Befehl: (dcl-Grid-GetCellStyle xdata_selector/xdata_selector/grid_single 1 1)
-1

Befehl: (dcl-Grid-SetCellStyle xdata_selector/xdata_selector/grid_single 1 1 6)
T

Befehl: (dcl-Grid-GetCellStyle xdata_selector/xdata_selector/grid_single 1 1)
6

Befehl: (dcl-Grid-setCelltext xdata_selector/xdata_selector/grid_single 1 1 "a")
nil

Befehl: (dcl-Grid-getCelltext xdata_selector/xdata_selector/grid_single 1 1)
""

I don't know why I can not set a text to my grid...
Any ideas?
I found it ...

The Grid was totally empty, and I have to use some "ADD" commands to build the table before I can "SET" something ..