Sigma Php Ajax framework, Ajax Components, GUI Builder
May 24, 2012, 11:13:52 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: onload() in GUI builder  (Read 882 times)
jovibals
Hero Member
*****
Posts: 133


View Profile
« on: September 02, 2009, 01:51:50 AM »

Hi,

         Can someone share what is the onLoad() function in GUI builder?


Thanks!
Logged
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« Reply #1 on: September 02, 2009, 05:30:00 PM »

Can't get your point
Logged
jovibals
Hero Member
*****
Posts: 133


View Profile
« Reply #2 on: September 04, 2009, 06:28:02 AM »

Hi linb,


          Its something like when you load an html where you use onload() function. it shows like this.. i have a panel then inside panel is i have treegrid i'd like not to show it first the panel once i run for example index.js untill i press the button that's the time only the panel willl show. That is what i want to do.

          And one thing linb in treegrid, well.. treegrid is great it has a lot of functionalities also like sigma grid but m having a hard time to work with this. Is it is possible for example i have a button then when i pressed it rows or column will be added into the treegrid? Can you help me please.

Thanks in advance.

Logged
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« Reply #3 on: September 05, 2009, 02:11:46 AM »


Logged
jovibals
Hero Member
*****
Posts: 133


View Profile
« Reply #4 on: September 07, 2009, 05:17:18 PM »

Hi linb,

       thank you for the reply. Again sorry if you didn't my point again. You example show how to clear treegrid and replace the header and the rows value. But what my question is.. id like to add new rows or new column inside treegrid without clearing or changing the value inside and only show the added blank row or column.

Thanks linb.
Logged
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« Reply #5 on: September 07, 2009, 05:27:48 PM »

You can use "insertRows" function to add rows dynamically.
You can't add new cols to the grid without refresh. But you can use "showColumn" to switch a column's visibility.
Logged
jovibals
Hero Member
*****
Posts: 133


View Profile
« Reply #6 on: September 07, 2009, 08:38:02 PM »

Hi linb,

        Thanks for the great example.  Smiley this is helpful.
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!