Hi,
I have a grid in which one of the columns is composed of html (i.e. <span class='myCss' style='line-height:160%; cursor:default'>mydata</span>). To make it render in the column correctly, I catch the HtmlDataCellPrepared and do a Server.HtmlDecode() on the column where this data goes.
However, when I have the FilterRow on and the user tries to filter on this column, the results are based on the entire html (i.e. if I put "span", it will show all the rows even though what's showing is only "mydata"). I found a way to filter the data by using the percent "%" symbol. However, I want to make this transparent for my users.
Is there a simple fix/workaround for this issue?
If not, can I have another hidden column with the actual data so when the filtering happens I can change the column name to the hidden one?
If so, how can I intercept a callback for applying filtering?
As a last resort, can I intercept, on the client side, the filtering call before it goes to the server so I can add the percent "%" there?
Thanks,
Eben