in DHTMLX grid you may set the type of cell to “link”.
The corresponding cell value in XML should be a “^” delimited list of the following values:
1st - Link Text;
2nd - URL (optional), must not contain single quotes;
3rd - target (optional, default is blank).
Dummy link
Real link^http://dhtmlx.com
Real link^http://dhtmlx.com^_blank
Real link^javascript:doSomething("param1","param2","param3")^_self
You can store that value as you with.
If you are using dhtmlxConnector on the server side you can use “beforeRender” event to formant necessary cell before render it. Please find more information here docs.dhtmlx.com/doku.php?id=dhtm … re_loading
If I want to place a link in a cell into each row of a grid pointing to another page (for example to a page with a form) and pass the ID of the database record with it (like update.php?MEMBERID=2) how do I achieve this?
Passing the ID with the link configuration to the XML file or use the mygrid.attachEvent like:
It would be nice to have such basic problems posted in the documentation with examples. A kind of “how-to” section for common problems. Many of the examples are too special and never needed, but basic stuff is missing. An image example with edit/delete buttons would be nice too. Or will this be implemented in the 3.0 version? I hope so …