Oct 01, 2010, 8:00 PM
[CLOSED] How to add tooltip to a javascript image renderer
Hello,
I've got a column in my grid panel that only contains an image:
Thanks.
I've got a column in my grid panel that only contains an image:
<ext:Column DataIndex="warnings" Width="26" Resizable="false" Hideable="false" Fixed="true" MenuDisabled="true">
<Renderer Fn="ShowWarningIcon" />
</ext:Column>
My ShowWarningIcon function is a javascript function: <script type="text/javascript">
function ShowWarningIcon(v, p, record, rowIndex) {
if (record.data.warnings.length == 0) return;
return '<img src="icons/error-png/ext.axd">';
}
</script>
My question is: how do I gain access to the tooltip?Thanks.
Last edited by Daniil; Oct 04, 2010 at 4:18 PM.
Reason: [CLOSED]