Sigma Php Ajax framework, Ajax Components, GUI Builder
February 11, 2012, 07:24:27 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: Problem with two grids on same page  (Read 894 times)
Subbav
Newbie
*
Posts: 1


View Profile
« on: May 12, 2010, 10:33:05 AM »

Hi,
    I am using grid with php.I have two separate controller pages but both grids are configured on page.Both tables have mostly common column names.I left default configured variable names as it is,only sql commands are changed in controller.php.

At runtime,If a new entry is added in second grid,it is shown in first grid also.But delete updates are not working any way.

Can you please figure out issue here?In case of one grid its working fine.I am completely new this grid.Please help me.
« Last Edit: May 13, 2010, 07:20:58 AM by Subbav » Logged
steven
Moderator
Hero Member
*****
Posts: 546



View Profile
« Reply #1 on: May 19, 2010, 05:36:49 PM »

There will not be a problem to show two grid in one page.
Actually, you can place as many grids as you like in one page.
But you need to do something like this

var gridopt1 = {
  loadURL : "control1.php"
}


var gridopt2 = {
  loadURL : "control2.php"
}
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
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!