Sigma Php Ajax framework, Ajax Components, GUI Builder
May 17, 2012, 01:51:45 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: Loading colsOption and dsOption in grid using loadURL.  (Read 991 times)
amit.patel
Jr. Member
**
Posts: 15


View Profile
« on: February 25, 2009, 05:24:55 AM »

Hello All,

I am using loadURL on gridOption in Grid . It is working and load data without page refresh but now i want to also load colsOption and dsOption dynamcially means it's field changes one is increment or decrement so is it possbile to load colsOption and dsOption like  as we loaded data using loadURL.

Waiting for your response.....
Logged
humi
Hero Member
*****
Posts: 284


View Profile
« Reply #1 on: February 25, 2009, 08:36:19 AM »

I don't think it is possible without rebuilding the grid. Will probably have to change colsOption and dsOption dynamically, and not by loadURL method. Correct me if I am wrong however.
Logged
amit.patel
Jr. Member
**
Posts: 15


View Profile
« Reply #2 on: February 25, 2009, 09:34:21 PM »

I don't think it is possible without rebuilding the grid. Will probably have to change colsOption and dsOption dynamically, and not by loadURL method. Correct me if I am wrong however.

Thanks,

So, how can we rebuild grid colsOption and dsOption dynamically means how can we make json string for colsOption and dsOption at server side and echo it(for php) at server side.

waiting for your reply.....
Logged
humi
Hero Member
*****
Posts: 284


View Profile
« Reply #3 on: February 26, 2009, 04:15:35 AM »

You will need to make a new ajax call to send and receive the variables you want.

(on success of) receiving the variables, you can re-build grid with new configuration variables.
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!