andreasfc
Posts: 26
|
| Posted: 03/22/2007, 9:49 AM |
|
is there a small tutorial on how to create a grid, which is linked to a detailed page.
For instance top grid contains customer information and when clicked on the customer, the grid below displays all orders for this customer.
Thanx
|
 |
 |
Oper
Posts: 1195
|
| Posted: 03/23/2007, 3:39 PM |
|
Must of the sample work that way.
http://www.GlobalDevelop.com
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
andreasfc
Posts: 26
|
| Posted: 03/24/2007, 11:50 PM |
|
I need to know how to do it with Codecharge.
|
 |
 |
peterr
Posts: 5971
|
| Posted: 03/25/2007, 11:59 AM |
|
It's mostly true that CodeCharge Studio is based around this concept and CodeCharge examples and tutorials work in such way. The only difference is that they often utilize Grid & Record, but the approach is the same whether creating Master Grid & Detail Grid, or Master Grid & 2 Detail Grids, Master Grid & Detail Record & Detail Grid, etc. The key is to configure each record or grid to display the data based on the URL.
For example at this URL http://examples.codecharge.com/ExamplePack/OrderEntry/O....php?order_id=1
there are both Detail Record and Detail Grid displayed with data filtered by "order_id=1" coming from the Master Grid and visible in the URL.
In your case you can use Grid & Record builder, then check the Data Source property of your Record to learn how it works. Then delete the Record and use Grid Builder to create the 2nd Grid instead. And then configure the new Grid the same way as the previous Record was configured.
Or create test page with Grid & Record, and then open the Data Source of your Record and copy the same parameters to another page where you may have Grid & Grid.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
|