[CLOSED] Renderer function

  1. #1

    [CLOSED] Renderer function

    is there a way to render the content of a grid-column field blinking under defined conditions, eventually combined with one colour, using js function ?

    for instance (all value <= 0 in red and blinking )

            var highlight = function (value) {
                return Ext.String.format(template, (value > 0) ? "green" : "red", value);
            };
    MyGridColumn.Renderer.Fn = "highlight "
    thanks in advance
    Last edited by Daniil; Aug 03, 2012 at 5:42 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I would use CSS
    text-decoration:blink;
    http://www.w3schools.com/cssref/pr_t...decoration.asp
  3. #3
    Please note that text-decoration blink is supported by Opera and FireFox only
    For CSS3 browsers you can use styles from the following article
    http://visualidiot.com/articles/css3
  4. #4
    yes, thanks Daniil, but I remembered it was not supported in browsers (ie and chrome both). I got the same confirmation on the page you left me.
    I just was asking if some other stuff was available.

    Vladimir, I check it, thanks
  5. #5
    Apologize, forgot/missed it is not supported in IE, Chrome and Safari.

Similar Threads

  1. [CLOSED] GridPanel. Force renderer function of column
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 25, 2012, 5:45 PM
  2. Replies: 4
    Last Post: May 31, 2011, 11:54 AM
  3. Replies: 1
    Last Post: Jan 17, 2011, 11:18 PM
  4. [CLOSED] RowNumbererColumn renderer
    By danielg in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 27, 2009, 10:30 AM
  5. [CLOSED] Accessing Row value in row click renderer function
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jun 09, 2009, 4:11 AM

Tags for this Thread

Posting Permissions