Sigma Php Ajax framework, Ajax Components, GUI Builder
May 17, 2012, 01:16:32 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: how to do server side filtering  (Read 229 times)
samiuddin.adse
Newbie
*
Posts: 3


View Profile
« on: November 30, 2011, 01:31:27 AM »

Hi

I started working on sigma grid few days ago. I am not able to fine how to get server side filtering

for example I want to populate the grid like


select * from emp_details where emp_name='$name';

by taking the values from the user I want to populate the grid.

for example user fill the employee name in text box that value i want to send it to the query how to do this

thanks
Logged
scheppi
Jr. Member
**
Posts: 8


View Profile
« Reply #1 on: December 04, 2011, 01:50:51 AM »

Hi Sammi,

as noone answers my questions, here, i try to help you a bit at least:
why dont you add an html-form with an input type text field where user can enter searchtext and on pressing the search or reload button you add a sigma parameter with
   mygrid.addParameters("search",document.form.input.value);
or similar. This will be your search parameter. I will have to do the same soon, maybe i can share my experiences.
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!