asp.net mvc - Slick grid is not working for more than 8 rows -


in our mvc application ,we using slick grid displaying data update,we passing json string grid , display rows update .but until 8 rows it's working fine.but more 8 rows update not working.while update passing json string controller , save changes in table. when checked in firefox firbug following error coming . typeerror: grid.base undefined

my sample code: (for displaying) grid = new slick.grid($("#grid-dplistitem"), data, columns, options); grid.base.render();

for update

      grid.geteditcontroller().commitcurrentedit();         var data = grid.getdata();         var griddata = json.stringify(data);           $.ajax({              url: '/project/updateprojectmessage?griddata=' + griddata,             //data: "griddata=" + json.stringify(data),             type: 'post',             contenttype: 'application/json;',             datatype: 'json', 

may add following code in web config file

<system.web.extensions>         <scripting>             <webservices>                 <jsonserialization maxjsonlength="50000000"/>             </webservices>         </scripting>     </system.web.extensions> 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -