Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Agile on Nov 14, 2008 02:09
open dhtmlx forum
integer type link column sorting and filtering

Hi Team,

I have two columns with links of type int and string.
I am using dhtmlxgrid_excell_link.js.
and giving input through XML as

<cell>1123^http://link.com/^_blank</cell>
<cell>Amit^http://link.com/^_blank</cell>

and using
mygrid.attachHeader("#numeric_filter,#text_filter");
mygrid.setColTypes("link,link");
mygrid.setColSorting("int,string);

I want to allow all sorting and filtering operations based on column types i.e. int and string.For string it is working but for integer column, sorting and filtering is not working.Please suggest any possible solution.
And Also I want to open the link on the same page.So what should be the value for last argument.

Thanks,
Agile
Answer posted by Support on Nov 14, 2008 02:20
In normal mode, the both filtering and sorting must work correctly, when you are using "link" excell type. 
If you are using SRND or paging mode - the situation is a bit more complex.  You can try to use customized version of link excell , which can be taken from next tread.
              http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=3344&ssr=yes&s=filter%20link%20excell