O$813 jsComplexGrid Help please

Omnis Newbie omnisnewbie at gmail.com
Fri Jan 26 09:38:07 EST 2018


Can someone tell me what I am doing wrong?

I'm having some trouble changing the button text of a button in the 
row section of a ComplexGrid while or directly after the iGridList is 
being built.

The rfForm has been instantiated, and the PagePane the Grid is on is 
displayed and working but when I build the iGridList I want to be 
able to change some button text on each line based on data in the IGridList.

All of the following codes works after the List/Grid is populated and 
being displayed, but I cannot figure out how to do this beforehand.

Calculate 
$cinst.$objs.ComplexGrid.$objs.btnTest.[iGridList.$line].$text as 
'Omnis' ;;using a separate button on the same line as button to be changed
Calculate $cinst.$objs.ComplexGrid.$objs.btnTest.1.$text as 'Omnis' 
;; using a button outside the grid and page pane
Calculate 
$cinst.$objs.PagePane.$objs.ComplexGrid.$objs.btnTest.1.$text as 
'Omnis'  ;; using a button outside the grid and page pane

Your help would be appreciated.

Jay




More information about the omnisdev-en mailing list