Sigma Php Ajax framework, Ajax Components, GUI Builder
February 12, 2012, 01:09:49 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: state message seems to be strange when only one record displayed in last page  (Read 1167 times)
konami0
Newbie
*
Posts: 1


View Profile
« on: June 17, 2010, 12:11:36 AM »

hello,

grid paging problem.
When there is only one record left at last page , the message displayed at toolbar seems to be "No Data".
I dont know the reason.
For example, I have total 11 records, and set the pageSize to 10,
at the second page,  it should be like "11 - 11 displayed, 2pages 11 records totally", and not the "No Data", is it?
Any one has had the same problem, please help!
thanks.

I use sigma-grid 2.4

micheal
 
Logged
steven
Moderator
Hero Member
*****
Posts: 546



View Profile
« Reply #1 on: June 23, 2010, 06:44:32 AM »

yes, this is a bug. thank you for reporting
Logged

Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java
Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
cxjava
Jr. Member
**
Posts: 9


View Profile
« Reply #2 on: July 18, 2010, 09:00:04 PM »

i have a simple method to fix it:
in the gt_grid_all.js,find this string:Q(P.Fv-P.EU<N)c.Dz.9="<X>"+c.BE("NO_DATA")+"</X>";
Original:Q(P.Fv-P.EU<N)c.Dz.9="<X>"+c.BE("NO_DATA")+"</X>";
Modify to:Q(P.Fv-P.EU<M)c.Dz.9="<X>"+c.BE("NO_DATA")+"</X>";
 Wink
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!