-
Complex Grid Default Values $initextendrow
Hi I’m trying to find some documentation on the $initextendrow method for complex grid. I’m basically just trying to define some of the default row values when a new line it added automatically to grid. I found this in the online omnis documentation, but I’ve tried added this method $initextendrow to the class and define some values, nothing seems to work and the code never executes. Anyone ever successfully used this?
Initial Row Values
When a Data grid has $enterable & $extendable enabled, the user can add a new row by entering data into the empty ‘extendable’ row at the bottom, and the remainder of the columns in that row are given default values.
However, if you want to override these defaults, you can now implement a method named $initextendrow on the data grid control. This method should return a row with column values set to the appropriate defaults you wish to use. The order and the data type of the columns must match the order and types of the columns of the list defining the Datagrid and specified in $dataname.
Sorry, there were no replies found.
Log in to reply.