w2grid.columnClick

Called when user clicks on the column.
columnClick(field, [event])
field string, column field name
event object, optional, DOM Event Object
Returns true on success, false otherwise.

Description

This method is called when user clicks on the column, normally to sort it. The method emits the .onColumnClick event and by default sort grid data by this column.
If you have grid defined in the following way: You can emulate click on the column by:

User Comments

comments powered by Disqus