ahmadgee
Posts: 2
|
| Posted: 10/09/2008, 1:17 AM |
|
Hi every body
I am new and trying to implement the example of "Grid with Navigable Detail View" of tutorial.
I have displayed the columns emp_name,title,department of employees table using grid builder.
And I have set emp_name as a link. When user click on it it should display the detail information for that employee.
So problem is that when I click at the link, it does not display the detail of the that specific emp regarding the link But it display the other employee detail.
Thanks in advance
|
 |
 |
Mary_Ann
Posts: 5
|
| Posted: 10/10/2008, 12:43 AM |
|
Hi
Use custom code from example. This code is used to calculate the number of records up to the current page as well as the current page number and the record number. This information is appended to the URL leading to the NavGrid_Detail page (!!!!).
But I have the better solution.
"Employees Directory " example.
Create Grid with emp_name as a linc and Record form with emp details.
Open Href source of the link -> parameters tab and add parameter:
Source Type - DataSource Column
Parameter Source - emp_id
Parameter name - emp_id
In this case emp_id will be passed as URL parameter. After that when you will click on the Emp Name in the Grid on the next page шот Record form you will see necessary emp details.
Good luck :)
|
 |
 |
ahmadgee
Posts: 2
|
| Posted: 10/10/2008, 2:38 AM |
|
Thanks for your reply Mary Ane
Best regards
|
 |
 |
|