CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Some of Grid Rows(records) hidden? -depending on URL parameter

Print topic Send  topic

Author Message
hasan

Posts: 6
Posted: 04/20/2010, 7:30 AM

I have a PHP page.
I have a Grid(not Editable Grid).
I receive some URL parameter in this Grid page.
I would like some of Grid Rows(records) hidden make (depending on URL parameter).

Is this possible?

Gr,
Hasan
View profile  Send private message
melvyn


Posts: 333
Posted: 04/20/2010, 8:40 AM

Edit your grid datasource and add the conditions to where.

Let's say you have customers list
customer name - customer phone - customer city

You want to hide all users from a given city which pass as parameter: list.php?s_city=Chicago

Click on the red line around your grid, then go to properties (right below) and find the "datasource" property. Click on the three dots and you'll get the query builder.

Add a where condition to your datasource in visual query builder WHERE city IS NOT s_city

Try
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.