This is a migrated thread and some comments may be shown as answers.

Cell customization

1 Answer 61 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Janaki
Top achievements
Rank 1
Janaki asked on 06 Apr 2020, 02:22 PM

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;
    }
   }
  }

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 08 Apr 2020, 10:07 AM

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.
Tags
Spreadsheet
Asked by
Janaki
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or