jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Grid pageable Mode, error null obj
Tagged: Grid pageable null
This topic contains 7 replies, has 2 voices, and was last updated by Peter Stoev 11 years ago.
-
Author
-
if obj null value paging error
if submit value in textbox over page
before input
after
Hi there,
The Grid on your side is not initialized correctly. Please, look at the examples and documentation available on our website. The URL parameter is not expected to be Empty String.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter Stoev
im having problem
if my datavalue is null
my paging number display not correctly,
i set initialized follow
—————————————–
$(“#jqxgrid”).jqxGrid({
width: 500,
pageable: true,
virtualmode: true,
source: adapter,
autoHeight: true,
sortable: true,
rendergridrows: function () {
return dataAdapter.records;
},
———————————————–
http://jsfiddle.net/ugkH2/17/please help..
Hi 13larc,
1. When you set virtualmode, the source object’s totalrecords property is required. You should define the totalrecords property.
2. rendergridrows returns dataAdapter.records, but your dataAdapter’s instance name is adapter, which means that dataAdapter is undefined. You should probably use adapter.records instead.Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comi follow code
http://www.jqwidgets.com/server-side-paging-with-jquery-grid/if query datavalue is null
paging is error -9-0
i Sorry again.
Hi 13larc,
Please, look at my post and apply the changes in your code accordingly. The blog post you’re following is from 2011. There are online samples and help topics which illustrate how to implement Server Paging.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comhi Peter Stoev
i dev on MVC4 and i follow code in documentationif data value in grid is null paging is error -9-0 ,I can not find new samples how to implement Server Paging.
please help send link how to implement Server Paging .new version
thx….
Hi 13larc,
1. When you set virtualmode, the source object’s totalrecords property is required. You should define the totalrecords property.
2. rendergridrows returns dataAdapter.records, but your dataAdapter’s instance name is adapter, which means that dataAdapter is undefined. You should probably use adapter.records instead.Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.