Sigma Php Ajax framework, Ajax Components, GUI Builder
February 08, 2010, 04:13:25 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: [Apr-26-2009]It is our privilege and pleasure to announce the availability of Sigma grid 2.2. Among the long list of new and improved features:
1. Easy way to export data to pdf/xml/excel/csv.
2. More than 20 API functions added
3. Easy way to change row style
4. Eight bugs in previous version fixed.
Please visit http://www.sigmawidgets.com/products/sigma_grid2/ to see more details.

 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: mygrid.getSelectedRecords().length always return 1?  (Read 273 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: 274


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!