[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 6: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
    Vladimir Shcheglov
    Sr. Developer
  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 Premium Help
    Replies: 2
    Last Post: Jun 25, 2012, 6:45 PM
  2. Replies: 4
    Last Post: May 31, 2011, 12:54 PM
  3. Replies: 1
    Last Post: Jan 18, 2011, 12:18 AM
  4. [CLOSED] RowNumbererColumn renderer
    By danielg in forum 1.x Premium Help
    Replies: 4
    Last Post: Oct 27, 2009, 11:30 AM
  5. Replies: 5
    Last Post: Jun 09, 2009, 5:11 AM

Tags for this Thread

Posting Permissions