Sigma Php Ajax framework, Ajax Components, GUI Builder
May 21, 2012, 08:17:59 PM *
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: mygrid.getSelectedRecords().length always return 1?  (Read 614 times)
JersyZhang
Newbie
*
Posts: 1


View Profile
« on: June 23, 2009, 07:49:54 PM »

Hi,i have test the getSelectedRecords(),but always return one.

First set the colsOption ,{id: 'chk' ,isCheckColumn : true }.

when i checked more than one item. mygrid.getSelectedRecords() do not work well.

please help me.  thanks.

i find the reason by myself. selectRowByCheck:true                 is need to set.
« Last Edit: June 23, 2009, 08:07:09 PM by JersyZhang » Logged
humi
Hero Member
*****
Posts: 284


View Profile
« Reply #1 on: June 26, 2009, 04:10:34 AM »

Up to 10 rows getSelectedRecords().length should return 1? That will show the length of the returned value. If you have 11 or more rows. it will return 2+?
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!