Sigma Php Ajax framework, Ajax Components, GUI Builder
May 21, 2012, 08:56:41 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: setCellValue help  (Read 2082 times)
phneoix
Newbie
*
Posts: 1


View Profile
« on: August 26, 2010, 08:11:50 PM »

hi
can anyone please help me with using the function setCellValue with an simple example.

thanks
Logged
vijayamahesh
Newbie
*
Posts: 2


View Profile
« Reply #1 on: December 24, 2010, 04:41:22 AM »

 mygrid.setColumnValue("acccode",mygrid.activeRecord,'your value');
       
        mygrid.refreshRow(mygrid.activeRow);



use these two  lines to set the value in "acccode" column ....... for the current row and column with "acccode"   ,, your value will be placed
Logged
useropoulos
Newbie
*
Posts: 1


View Profile
« Reply #2 on: March 01, 2011, 01:12:39 AM »

Hi,

I am trying to use setCellValue but my javascript crashes. Actually the code is: mygrid.setCellValue("mycolumn", 1, "new");
setCellValue doesn't seem to work because if I set this line as comment the rest code works fine.

Can somebody tell me what to do?
Thanks
Logged
humi
Hero Member
*****
Posts: 284


View Profile
« Reply #3 on: March 01, 2011, 07:13:32 AM »

http://www.sigmawidgets.com/products/sigma_grid2/docs/sigma_grid.html#setcellvalue

You're syntax looks correct. I haven't used this function like this before, however.
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!