Problem - CheckColumn Renderer- Return Value

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Problem - CheckColumn Renderer- Return Value


    I try to put Tooltip text in checkColumn , but i don´t know which value return from the Renderer function.

    If i return false or the value, i see false(text) in the column , and not the checkbox.

    I try in this way:


    <ext:CheckColumn DataIndex="AprobarPeriodo" ColumnID="colAprobarPeriodo" Editable="true"
        Align="Center" Width="10" Groupable="false" Hideable="false" Sortable="false" MenuDisabled="true">
     <Renderer Fn="CheckAprobarPeriodoRenderer" />
        function CheckAprobarPeriodoRenderer(value, metadata, record, rowIndex, colIndex, store) {
            var qtipTpl = new Ext.XTemplate(
                    '<tpl for=".">',
                    '<div>Aprobar Período Completo</div>',
            metadata.attr = 'ext:qtip="' + qtipTpl.apply('') + '"';
            return value; 
    I also tried to return: false, 'false', undefined, null, etc.

    Which value do i have to return ?


    Last edited by Daniil; Jan 28, 2011 at 9:44 AM. Reason: Please use [CODE] tags

Similar Threads

  1. Replies: 4
    Last Post: Jul 25, 2012, 5:45 AM
  2. [CLOSED] Problem with Renderer & Editor
    By logicspeak in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 20, 2011, 8:18 PM
  3. CheckColumn double click problem
    By Thiago Nogueira in forum 1.x Help
    Replies: 3
    Last Post: Nov 18, 2010, 12:10 PM
  4. GridPanel CheckColumn problem
    By Argons in forum 1.x Help
    Replies: 1
    Last Post: Aug 19, 2009, 11:34 AM
  5. get value from checkcolumn
    By maxdiable in forum 1.x Help
    Replies: 2
    Last Post: Jul 10, 2009, 6:28 PM

Tags for this Thread

Posting Permissions