Ajax DataGrid Support Product Page

This topic was archived

Programatically controlling the grid

Asked 25 Sep 2008 23:35:16
1
has this question
25 Sep 2008 23:35:16 etan rozin posted:
Hi
I would like to programatically effect the grid at runtime (using javascript)
Specifically:
-Open the search panel
-Set the height of the grid
-Set the width of the grid
-Hide a column/Show a previously hidden column

Is any/all of this possible?
Could you supply the syntax?
Thanks

Etan

Replies

Replied 02 Oct 2008 13:36:42
02 Oct 2008 13:36:42 Miroslav Zografski replied:
Hi Etan,

So far we are supporting only the functions of reloading, navigating and setting filter of the grid.

Regards,


M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 10 Dec 2008 23:13:26
10 Dec 2008 23:13:26 Jim Varrone replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi Etan,

So far we are supporting only the functions of reloading, navigating and setting filter of the grid.

Regards,


M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Any plans to add Searching real soon?? Something like filtering does:
controlAjaxDataGrid(document, 'dmx_gridxx', 'search', 'custom', 'colname', 'begins', 'searchterm');
Should be pretty easy to implement soon, at least so we can manually code it. Then you can add it to the GUI extension when it's more convenient for you.
Replied 11 Dec 2008 10:14:23
11 Dec 2008 10:14:23 Miroslav Zografski replied:
Hi Jim,

You can have a search in a column text field by applying "Set Grid Filter" from Control AJAX DataGrid in DMXZone sub-menu in add behavior menu /or [+]/ in Behavior tab of Tag panel.
Here is a sample code:
<pre id=code><font face=courier size=2 id=code>
&lt;form action="" method="post" name="form1" id="form1" &gt;
&lt;input name="serachgrid" type="text" id="serachgrid" onkeypress="controlAjaxDataGrid(document, 'dmx_grid14', 'setFilter', 'form', 'fname', 'contains', '#form1 #searchgrid')"/&gt;
&lt;/form&gt;
</font id=code></pre id=code>

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------

Reply to this topic