Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Adam Downs on Feb 12, 2009 15:04
open dhtmlx forum
Layout with Grid

I am using the Pro version 2.0 and I have a layout which I attach a grid in Cell "A"

I would like to know how to add a link/button column in my grid loaded from XML so that It will open a URL in the Layout Cell "B"

I know how to get a basic link column and open the url in a new window but How can I get the location to open up in the other layout Cell.

Thank you in Advance,

Adam
Answer posted by Alex (support) on Feb 13, 2009 03:43

Link can also call javascript function which is defined at the grid page. For example:

<cell>Link^javascript:someFunction('rowId');^_self</cell>

The function can carry out different actions. For example, it can set an url in the layout cell.