Linked grids
Another type of grid function that may be useful would be a grid designed with hyperlinks. Mixing hyperlinks and an edit grid should be avoided in most cases because you cannot edit a hyperlink column. You can do several things with the linked grid. You could create links so that it reloads the same page for another detailed page to drill down in another grid for reporting purposes. If you use Row
instead of Single
as the value for selectMode
, then we will observe that it passes the entire row of data as a delimited string. Now, we will proceed with the value Single
:
<html> <head> <title>Grid Example</title> </head> <body> <h2>Grid Example</h2> <cfform name="bob"> <cfgrid name="products" format="html" striperows="yes" pageSize="3" selectOnLoad="yes" preservePageOnSort="yes" selectMode="Single" delete="true" deletebutton...