[Dojo-interest] Want to configure a column within a
FilteringTable as a link
Ross Thomas
dojo at boscorama.com
Wed Feb 21 14:10:54 MST 2007
Randy Johnson-5 wrote:
>
> We want to configure rows in a FilteringTable so that if a user clicks
> on a specific column within the table, a separate window or frame could
> be opened. The test case supplied lets you select a row, then press a
> button to trigger an event. We want the same event, but want it to be
> triggered by a single mouse click.
>
Override/connect to the onDataSelect function of the widget. It will be
passed a reference to the src data object (JSON or parsed from HTML)
for the row.
At that point you should have sufficient control & info to do what you want.
Either that or you can attach to the onclick event for the tbody and locate
the target row when the event is triggered.
HTH
Ross.
--
View this message in context: http://www.nabble.com/Want-to-configure-a-column-within-a-FilteringTable-as-a-link-tf3268562.html#a9089253
Sent from the Dojo mailing list archive at Nabble.com.
More information about the Dojo-interest
mailing list