Toggles record between expand and collapse states.
toggle(recid)
recid |
string, recid of the record to toggle |
Returns undefined.
Description
This method will try to collapse previously expanded record or expand previously collapsed record. It wil internally
call .expand() or .collapse() methods.
If you have grid defined in the following way:
You can toggle record: