w2grid.expand

Called when user clicks on the expand record icon.
expand(recid, [noRefresh])
recid string, id of the clicked record
noRefresh boolean, optional, indicates if record does not need to be updated on screen
Returns boolean.

Description

This method will try to expand the record. It will insert a TR and a DIV right after the record and then trigger .onExpand event. You should add event listener and populate provided DIV with html. If you have grid defined in the following way: You can expand record:

User Comments

comments powered by Disqus