Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by syed on Sep 08, 2009 03:45
open dhtmlx forum
Filtering using hyperlink

Hi ,
I am populating grid with 2 values(name,id) on the same coulmnl .I need both the values.But while filtering using text filter on that column i need ,that filtering should be based on name only and id should not be involved at all.The id contain alpha numeric values.So when i filter with " x" ,then although there is no name with "x" ,but there is Id with "x" .So one values is filtered based on id which i dont want. Please help ASAP.Thanks in advance
Answer posted by dhxSupport on Sep 08, 2009 03:55
Please check this article http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=3344&ssr=yes&s=filter%20link
If you use "link" eXcell type try to use attached file.
Answer posted by syed on Sep 08, 2009 04:03

i tried the mentioned solution.but its not working.The data format is like : name+hyperlink+id.Its passed to the grid .I need to filter using text filter based on the name only .I just need to truncate the hyperlink+id

from the data while filtering.

Answer posted by dhxSupport on Sep 08, 2009 04:25
The filtering uses getValue method of cell object to fetch cell data, so the problem can be resolved only by modification of getValue method of excell type which you are using, or by creating custom excell for similar purpose.
Please find more information here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:toc_custom_excell_creation