Sigma Php Ajax framework, Ajax Components, GUI Builder
May 21, 2012, 08:47:42 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: Refreh Our Browser Ofter Save Data in Sigma Grid  (Read 2149 times)
surendra
Jr. Member
**
Posts: 11


View Profile
« on: February 23, 2009, 05:20:44 AM »

Hi buddy!

I would like to refresh our browser ofter clicking save button in sigma grid .

what should i do please tell me or give me the some code whatever usual for our issue

because i am using to fire some event from out-side of grid , its needed to refresh browser.

if you have some trick then please give me

I am using sigma grid 2.1 for PHP/MYSQL 

I am appreciate for your support

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


View Profile
« Reply #1 on: February 23, 2009, 08:32:17 AM »

You may have to edit the grid_all.js to get full functionality of what you want. Do search for the following line:

save:function(I){

Add your refresh to that function.

This should be in the Q+A topic however.
Logged
surendra
Jr. Member
**
Posts: 11


View Profile
« Reply #2 on: February 24, 2009, 05:44:19 AM »

hi

I didn't got "save:function(I){" function in gt_grid_all.js

if you did it so please send me the code for refresh window ofter clicking save

thank you very much for your response

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


View Profile
« Reply #3 on: February 24, 2009, 07:01:44 AM »

You can download the source by downloading the package from here:
http://www.sigmawidgets.com/download.html

Then go to sigmagrid/src/grid_all.js

This is de-compressed source.
Logged
surendra
Jr. Member
**
Posts: 11


View Profile
« Reply #4 on: February 25, 2009, 03:36:36 AM »

Hi

I did open this url http://www.sigmawidgets.com/download.html

and downloaded the   "Database/backend integration sample with PHP "  then i did extract zip file then i got

sample folder    "sigma_grid_with_php_samples_release"     in this folder,  i did check sub folder grid and then i got

"gt_grid_all.js" and i did check file and tried to find  save:function {  but still i didn't got it

In this file having  very huge code ... and i did tried to find save function but i didn't got  . I got in this file some save keyword like '   
save,saveURL,saveFailure,saveSuccess  '
these are four key word all separated by '|' I think this is tools for sigma grid

then what should i do for refreshing window ofter click on save button  from grid

if you have any other idea , then please give me

i am appreciate for  your help.

thanks  a lot for your response .

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


View Profile
« Reply #5 on: February 25, 2009, 04:20:36 AM »

You downloaded the samples package. You must download only the grid package.

Go back to the download page, and click the download link above the "database/backend samples." Its says "Download Sigma Grid" big letters.

That file has the uncompressed source.
Logged
surendra
Jr. Member
**
Posts: 11


View Profile
« Reply #6 on: February 25, 2009, 04:56:19 AM »

Hi

Ya Thanks for your help ,

i did it successfully ....  according your instruction


thanks a lot to you
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!