[CLOSED] Need to show a few Ext Icon in a particular column of the gridpanel using the value of other column

  1. #1

    [CLOSED] Need to show a few Ext Icon in a particular column of the gridpanel using the value of other column

    Hi all,

    I Need to show Four ExtIcons in a column of the gridpanel using the vaue of the other column
    (ie) if i have two(Status and Value) column in the gridpanel i need to show the icon in the Status column depending on the values of the Value column

    (eg)if (value < 100) show Icon "BulletRed"
    if(value>100 and value<500) show Icon "BulletGreen"
    if(value>500) show Icon "BulletBlue"
    Can you help me with an Example.

    Thank You
    Last edited by Daniil; Nov 14, 2011 at 4:34 PM. Reason: [CLOSED]
  2. #2
  3. #3
    Hi Daniil,

    this.Url0.Value = ResourceManager.GetInstance().GetIconUrl(Icon.Accept);             
    this.Url1.Value = ResourceManager.GetInstance().GetIconUrl(Icon.Add);
    How to the set the value of Url0 and Url1 in the JavaScript, because i am getting Url0 and Url1 is Undefined in my JS

    Thank you
  4. #4
    It should not be undefined.

    But an answer on the question is
    Url0.setValue('url');

Similar Threads

  1. Gridpanel column icon
    By Kev in forum 1.x Help
    Replies: 0
    Last Post: May 18, 2012, 12:15 PM
  2. [CLOSED] Icon in GridPanel Column Header
    By sadaf in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 13, 2011, 3:13 PM
  3. [CLOSED] gridPanel: Icon as value of a column
    By RomualdAwessou in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 28, 2010, 2:54 PM
  4. [CLOSED] Icon column in GridPanel based on column from store
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 12, 2010, 5:46 PM
  5. Insert Icon into Column Header of GridPanel
    By sachin.munot in forum 1.x Help
    Replies: 3
    Last Post: Jan 19, 2010, 2:16 PM

Posting Permissions