Add Delete button(s) to table rows. Row deletes can be detected by overriding the onRowDeleted method.

Namespace: Jaxcent.Web.Html
Assembly: Jaxcent (in Jaxcent.dll) Version: 2.3.1.0 (2.3.1.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void AddDeleteButtons(
	int firstRow,
	int lastRow,
	string buttonHtml,
	string buttonStyles
)
Public Sub AddDeleteButtons ( _
	firstRow As Integer, _
	lastRow As Integer, _
	buttonHtml As String, _
	buttonStyles As String _
)
public:
void AddDeleteButtons(
	int firstRow, 
	int lastRow, 
	String^ buttonHtml, 
	String^ buttonStyles
)

Parameters

firstRow
Int32
First row to add a delete button. (0-based. -1 means last row.)
lastRow
Int32
Last row to add a delete button. (0-based. -1 means last row.)
buttonHtml
String
Text on the button. Can contain HTML markup. If null or empty, defaults to "Delete".
buttonStyles
String
Style attributes to be used on the button. For instance, "color: red; font-size: 8px;"If null or empty, button is created with standard attributes.

See Also