May 26, 2011, 4:26 PM
[CLOSED] ext:StringFilter & Renderer on grid
Hi,
I'm using a renderer on a grid to turn a user ID into the username for display. Is there any way for me to allow the user to search against the displayed text rather than the underlying value?
eg: when I use the ext:StringFilter it's filtering against the ID number and not the rendered username. Is there anyway to change this behaviour? I can't use a ListFilter as there are too many options really.
Grid
I'm using a renderer on a grid to turn a user ID into the username for display. Is there any way for me to allow the user to search against the displayed text rather than the underlying value?
eg: when I use the ext:StringFilter it's filtering against the ID number and not the rendered username. Is there anyway to change this behaviour? I can't use a ListFilter as there are too many options really.
Grid
<ext:Column DataIndex="AdviserId" Header="Adviser" Sortable="true">
<Renderer Fn="adviserNameRenderer" />
</ext:Column>
Filters<ext:StringFilter DataIndex="AdviserId" />
Thanks.
Last edited by Daniil; May 27, 2011 at 10:57 AM.
Reason: [CLOSED]