jquery - SlickGrid enableAddRow -


i want use enable addrow option want new row displayed @ top of grird...any suggestions; beloiw doco in slickgrid.js.

enableaddrow - (default false) if true, blank row displayed @ bottom - typing values in row add new one.

thank you!

function addrowtothetop(){     grid.getdata().splice(0, 0, {});     grid.invalidateallrows();     grid.updaterowcount();     grid.render(); } 

call function add empty row @ top of grid. not effective works.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -