HOWTO: Enable Single-Click Row Selection in the VI 6.0 Grid DTCID: Q198827
|
The Visual InterDev 6.0 Grid Design-Time Control (DTC) provides a navigation bar that enables the user to page through the displayed records when bound to a Recordset Design-Time Control. This article will describe how to set up single-click navigation to a particular row; that is, a user clicks on a row, and the Grid DTC immediately navigates to the selected row.
Before you begin, you must have a Grid DTC bound to a Recordset DTC on your page. You must also know the "Scripting platform" of your Recordset DTC (the Grid DTC will inherit the Scripting platform of the Recordset DTC it is bound to), Client (Internet Explorer 4.0 DHTML) or Server.
To determine the Scripting platform of the Recordset DTC, right-click the Recordset DTC and select Properties. On the Implementation tab you will see a field for Scripting platform. If the field says Inherit from page, you may either set the Scripting platform in the page properties, or override it by setting it in the Recordset DTC properties.
For both Client and Server Scripting platforms, you must first enable Row Navigation in the properties of the Grid DTC. To enable row navigation, follow these steps:
="<b>$" + [ColumnName] + "</b>"
=GridName.anchor([ColumnName])
=GridName.anchor("<b>" + [ColumnName] + "</b>")
Additional query words: kbDSupport
Keywords : kbCtrl kbVisID kbVisID600 kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: May 4, 1999