Display Column With NoTitle/Text

3 posts, 0 answers
  1. Patrick
    Patrick avatar
    1 posts
    Member since:
    Jul 2012

    Posted 01 Aug 2012 Link to this post

    I need to have a column (the last one) in the grid not have any text displayed. I tried putting the title to an empty string but it did not work. Solutions? Code is below:

    function init() {     
    $('#dealerDetailsGrid').kendoGrid({         
    dataSource: {             
    type: "json",             
    transport: {                 
    read: "GetDealerDetails"             
    },             
    schema: {                 
    data: "data",                 
    total: "total"             
    },             
    pageSize: 10         
    },         
    sortable: true,         
    pageable: true,         
    columns: [            
      { field: "Oracle", title: "Oracle #" }, 
    { field: "Dealer" }, { field: "DealerType", title: "Dealer Type" }, 
    { field: "City" }, { field: "State" }, { field: "Status" }, 
    { field: "Remove", title: "" }         
    ]     
    });
    }
  2. Aaron
    Aaron avatar
    19 posts
    Member since:
    Nov 2012

    Posted 11 May 2017 Link to this post

    What worked for me was to change "" to be " ", so in your case:

    { field: "Remove", title: " " }

  3. Preslav
    Admin
    Preslav avatar
    571 posts

    Posted 15 May 2017 Link to this post

    Hi Aaron,

    Another possible solution is using the non-breaking space HTML character: " "

    For example:

    { field: "Remove", title: " "  }

    Regards,
    Preslav
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top