OnDefineButton - cWebListSwipeButton

Called for each row when the list data is loaded (if pbDynamic is set to True)

Type: Event

Parameters: Boolean ByRef bRender String ByRef sCaption

ParameterDescription
bRender (ByRef)Can be changed to customize the caption for this row
sCaption (ByRef)Can be changed to hide the swipe button for this row


Syntax
Procedure OnDefineButton Boolean ByRef bRender String ByRef sCaption

Description

This procedure is called for each row when the list data is loaded (if pbDynamic is set to True).

It allows customization of the displayed swipe button by changing the two parameters that are passed by reference. If bRender is set to False, the button will not display on this specific row; changing sCaption changes the caption text displayed on this row.

Note that when manually filling lists, this procedure is only called when LoadGridRow or LoadGridCell are used.