How to rotate a grid column header?

Page 2 of 2 FirstFirst 12
  1. #11
    Can you share the renderer code?

    YesNoCol
    IndicatorCol

    Thanks a lot

    Camilo
  2. #12
    Quote Originally Posted by orozcoc View Post
    Can you share the renderer code?

    YesNoCol
    IndicatorCol

    Thanks a lot

    Camilo
    Sure, although the render has nothing to do with rotating the header
        var YesNoCol = function (value, metadata, record, rowIndex, colIndex, store) {
            var ret;
    
            switch (value)
            {
              case "Yes":
              case "yes":
                ret = "<span style='color:Green'>Yes</Span>";
                break;
    
              case "No":
              case "no":
                ret = "<span style='color:Red'>No</Span>";
                break;
            }
    
            return ret;
        };
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 1
    Last Post: Nov 24, 2011, 6:48 AM
  2. Grid panel column header localization
    By reezvi in forum 1.x Help
    Replies: 5
    Last Post: Aug 08, 2011, 9:57 AM
  3. Replies: 16
    Last Post: Feb 23, 2011, 10:03 AM
  4. Change grid column header in ajaxevent?
    By Tbaseflug in forum 1.x Help
    Replies: 3
    Last Post: Feb 03, 2011, 11:16 AM
  5. [CLOSED] [1.0] Possible to Add Icon to Grid Column Header?
    By bsnezw in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 14, 2010, 2:34 PM

Tags for this Thread

Posting Permissions