Sigma Php Ajax framework, Ajax Components, GUI Builder
May 21, 2012, 08:25:54 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: Change gridOption Property Dynamically  (Read 923 times)
amit.patel
Jr. Member
**
Posts: 15


View Profile
« on: February 16, 2009, 10:12:19 PM »

Hello all

How we can change the  gridOption property like pageInfo  property pageNum,pageSize etc.... it will be changed dynamically i am trying to using setContent function and assigning the json data string but it's not working. for example my json data is below.



 I am doing something like this


but it will only set data not set pagSize and pageNum property to above value.

Finally i tried somthing like this

but it will not working giving javascript error.

So please help me

Any help will be greatFull..
« Last Edit: February 17, 2009, 04:40:56 AM by amit.patel » Logged
humi
Hero Member
*****
Posts: 284


View Profile
« Reply #1 on: February 17, 2009, 04:16:03 AM »

To your Edited Post:

« Last Edit: February 17, 2009, 06:41:02 AM by humi » Logged
amit.patel
Jr. Member
**
Posts: 15


View Profile
« Reply #2 on: February 18, 2009, 09:06:18 PM »

Thank Humi

It's working fine now how can i change pageSizeList:[20,40,60,80] property . It is possible using setpageSizeList.....

Waiting for your reply

Logged
humi
Hero Member
*****
Posts: 284


View Profile
« Reply #3 on: February 23, 2009, 08:04:20 AM »

Sorry, I didn't read your entire message.

Your solution:

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!