Sigma Php Ajax framework, Ajax Components, GUI Builder
May 21, 2012, 09:25:43 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: Some doubts about grid  (Read 1270 times)
sergon
Jr. Member
**
Posts: 13


View Profile
« on: July 19, 2008, 12:30:48 AM »

I followed the tutorial and is very good, I have some doubts  nevertheless.

Is there another way to load the grid?, I used Sigma.Util.onLoad( Sigma.Grid.render(mygrid) ) and the hide/show demo function, and they work fine, but jst wondering if there is another way to load/show the grid.

Is there any moe information on the documentation about Sigma.Util?

Thanks a lot for your help
Logged
steven
Moderator
Hero Member
*****
Posts: 544



View Profile
« Reply #1 on: July 21, 2008, 12:51:10 AM »

Hello sergon,
What way do you expect grid to be load? I am not clear about your question. Can u explain it a bit more?
To Sigma.Util, we don't let Sigma.Util open to public because it could change a lot in the next version.
Logged

Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java
Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
fins
Newbie
*
Posts: 1


View Profile
« Reply #2 on: July 21, 2008, 11:29:08 PM »

in the next version , you can load(create) a grid like this :

var yourGrid = new Sigma.Grid( cfg );

after page load :

yourGrid.render();
//  or
yourGrid.render(container);

"container" is a dom-id or dom-element. (dom may be div span td ....).

in 2.0 :
the method "render" named "initGrid" ,and it don't have any argument.

I think "initGrid" is  a  bad name.
So i will change it in the next version.
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!