PDA

View Full Version : OnDefineToolTip



FrankValcarcel
24-Apr-2014, 08:26 PM
OnDefineToolTp also does not get triggered on a manual load cWebList since LoadGridCell is never executed.
fv

Harm Wibier
25-Apr-2014, 01:59 AM
When manually filling a grid / list there are two ways of doing it. One is by calling LoadGridRow to fill the tWebRow struct. The LoadGridRow will call events like OnDefineTooltip and OnSetCalculatedValue to determine the row its data. The other is by filling the tWebRow struct yourself making you responsible for filling the aOptions array for special column types.

FrankValcarcel
25-Apr-2014, 07:49 AM
OK, figured out that I need to load the options in onManualLoadData. The only problem is that neither is documented. LoadGridRow is empty in the doc. I assume this to be true in 17.1 onward. Since this is the first use of the aOptions array a note would have helped (but I know how much there is to do). Thank you for the quick responses to confirm what I figured out was the correct way to do it.