Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Grid Row Javascript API > Methods

Grid Row Javascript API: row.setMessage()

Scroll Prev Next More

 

Prints a message in one of the row cells. Useful to debug/troubleshoot your click action code.

Syntax

row.setMessage(str)

Arguments

str

the string to be printed in the row cell.

Return value

No return value.

Example

Add a message to the first cell in the row:

 

row.setMessage('test message', row.record()[0]);

See also:

Grid Row JavaScript API: row.getMessage()

Troubleshooting tips

Grid Row JavaScript API: row.record()

Change message after record was added or saved

Display a message on the Web page

About Grid Row JavaScript API