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

 Search by value on Label?

Print topic Send  topic

Author Message
ckroon

Posts: 869
Posted: 05/10/2013, 6:53 AM

I have a grid that has a Label that is populated by a Before Show Row code.

Is there to use the search box to filter out records that match what is in that Label?

_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
Lucius

Posts: 220
Posted: 05/10/2013, 9:06 AM

All depends if you are able to filter the DataSource by this value, or by some value in DataSource that can be related to this value from search box.

For example if your Before Show Row fetches a name of a category, when in DataSource for your grid you have the category id, then it is possible, because you know that the ID is connected to the category. Same goes for relations spanning more tables, views, etc - as long as you can do a valid relation.

If you fetch some value not connected to the grid DataSource, then I would say it would be very difficult to do. You would have to override how the grid is outputted to do it on the fly. Also you would have a very difficult task in setting up grid pagination correctly.

Without specific example it's hard to say either way.
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.