Skip to Content

[TableView] Filter on icons

Hi,

I have a TableView displayed using an iterator. Basically, some columns referred to flags and, thus, contain an 'X' or space. The iterator looks at their values and display a green led or a red led accordingly.

The problem is that I don't understand how the filtering is working (or, even if it could) for icons ??

I tried 'X' and ' ', and it does not filter.

But, strangely, 'a' and 'b' are filtering some entries but not all...

I must acknowledge I am getting quite confused with this.

Any idea apart from removing the icons ?

Thanks in advance !

Best regards,

Guillaume

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 30, 2005 at 01:45 PM

    To be honest I would be a little suprised if the standard server filter would have know how to filter on a column with custom rendering like this. I would probably have just assumed it wasn't going to work and created my own custom filter mechanism.

    I am guessing that it is actually filtering on the rendering code for displaying the image. To test that you might try to filter on g.gif, y.gif and r.gif; based upon the image names for the different icons. This might just work.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Thomas !

      First, thanks for your reply.

      In fact, I was not too ambitious regarding the standard behaviour for this... 😉

      Indeed, I tried to filter using the name of the images behind the icons (which, by the way, are S_S_LEDR.GIF and S_S_LEDG.GIF) but without any result.

      But, I just found out that the filter is <b>not acting on the column only</b> (as it should) <b>but on the entire row</b> !!

      I close this thread.

      Best regards,

      Guillaume

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.