Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Enrico Rinolfi on Oct 21, 2009 09:05
open dhtmlx forum
Connector ORDER BY in render_sql

Hi,

This is my question:

i create a grid with connector and render_sql command....
the grid have :

attachHeader("#connector_text_filter"); and        
setColSorting("connector")

In render_sql there is a select with wher clause and order by clause...

all works but when i filter the grid it gives me an error in sql command because it is added another where clause after all and obiviously its not a correct commands...

is there a way to adjust this?

thank u
Answer posted by Alex (support) on Oct 23, 2009 06:59

Hello, 

you can define custom filtering function:

http://www.dhtmlx.com/dhxdocs/doku.php?id=dhtmlxconnector:filtering