Cell customization

2 posts, 0 answers
  1. Janaki
    Janaki avatar
    4 posts
    Member since:
    Nov 2019

    Posted 06 Apr Link to this post

    Hi,

     

    im using kendo Jquery spreadsheet in angular application.we have a requirement to fill 4 values in one cell similar to the mockup attached. do we have any such customization available in kendo spreadsheet for the same? 

    work around:

    as cells in the mockup is read only, so for now im replacing the template created by kendo with some JavaScript code. how bad can this affect  the life cycle of plugin or framework ?

     

    updateTemplate(){
        var d1 = document.getElementsByClassName('k-vertical-align-bottom');
        var template=this.htmlTemplate();
       for (var i=0 ;i<d1.length;i++){
        var element=d1[i];
        if(element.innerHTML=="p-40")
        {
          element.parentElement.style.padding="0";
          element.innerHTML=template;
        }
       }
      }

  2. Dimitar
    Admin
    Dimitar avatar
    481 posts

    Posted 08 Apr Link to this post

    Hi Janaki,

    There is a Feature Request item for rendering cell using custom html. You may cast a vote for its implementation.

    As far as the proposed workaround and possible issues with it are concerned, I suppose that it may interfere with Spreadsheet functionalities other than editing. Some of them are client-side and server side Export to Excel/PDF, merged cells, freezing panes, keyboard navigation, resizing rows and columns, as well as most probably filtering, sorting, selection, scrolling. These are some of the scenarios I would suggest to test on your side.

    I hope this is helpful.

    Regards,
    Dimitar
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top