Skip to content

Instantly share code, notes, and snippets.

@thomasJang
Created September 29, 2016 01:10
Show Gist options
  • Save thomasJang/876c49b904c50b64f8af41c1c8584199 to your computer and use it in GitHub Desktop.
Save thomasJang/876c49b904c50b64f8af41c1c8584199 to your computer and use it in GitHub Desktop.
jsdoc.sample.js
/**
* @method ax5grid.addRow
* @param {Object} _row
* @param {Number|String} [_dindex=last]
* @returns {ax5grid}
* @example
* ```js
* ax5Grid.addRow($.extend({}, {...}), "first");
* ```
*/
this.addRow = function (_row, _dindex) {
GRID.data.add.call(this, _row, _dindex);
alignGrid.call(this);
GRID.body.repaint.call(this, "reset");
GRID.body.moveFocus.call(this, (this.config.body.grouping) ? "START" : "END");
GRID.scroller.resize.call(this);
return this;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment