Exporting kendo grid to excel shows encoded values for one column - kendo-ui

In kendo grid after exporting to excel, the resulting sheet shows encoded values for one of the columns. I want decoded values in my excel sheet.
I am seeing this:
<p>Test</p><p>adding</p><p>note</p><p>note2</p><p>checking the value</p>

Related

Birt report - hidden cross tab cells showing in excel

I have a cross tab. I hide an entire column by setting the style to one containing "display: none". This looks great in html and pdf.
But when exporting to Excel, the column appears with empty values.
How do I force the excel export to not show the column?
Have you tried using the visibility expression for the column instead of the style display:none?
I think setting width to 0 only hide the column (when exporting to excel) when the report Layout is "Fixed Layout".
Unfortunately "Fixed Layout" is a pain to use when you have a crosstab with lots of columns, as Excel starts throwing errors if the width gets too big.

Kendo UI Grid to Excel Format header in MVC 5

I can export excel to Kendo ui grid. But I want format header of file excel before export.
To format the cell values, set the format option of the cells
http://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/excel/cell-format
Hope it will Help you.

Kendo Grid Footertemplate export to Excel

I have a Kendo UI Grid with footertemplate. The grid is all working fine, but if I want to export it to Excel, I also want the footertemplate to be included but in different rows. How can I make the footer in Excel to be on different rows like the grid? Thanks for the help.
ex.
If I have footertemplate with Table and 2 TR, then I export to excel I want it to 2rows. Currently it combines everything on a single cell.
I'm just new on using this site so I cannot upload any image yet.

Kendo UI Grid Excel Export Unprintable Characters

I'm using the Kendo UI Grid to display data imported from various 3rd party sources. When I use the Export To Excel functionality of the grid I am getting an error from Excel, it would appear that the grid is not formatting / handling non-printable characters correctly.
Error from Excel:
Removed Part: /xl/sharedStrings.xml part with XML error. (Strings) Illegal xml character. Line 2, column 55298. Removed Records: Cell information from /xl/worksheets/sheet1.xml part
The actual character at the column is:
Is there any way that I can get the grid to string non-printable characters on export, or would I be better trying to write a pre-parser when the data is loaded.

Hyperlinks not Clickable when Exported to excel

When I run a query, the results of it are exported to the Excel. This data has few hyperlinks which get displayed in random (I don't know which cell or column).
My issue is that the hyperlinks are getting displayed as normal word and not as clickable hyperlinks. Unless, I click on the particular cell and click outside, the hyperlink doesn't become blue. How can I resolve this issue? I want the hyperlinks exported to excel as clickable hyperlinks.
There is a =HYPERLINK() formula in ms's excel and apple's numbers programs.
Two ways to apply this:
In your source data, have that column's output wrapped in the formula.
As you didn't give an example query or mention the language. here's a sql example:
select products_id, products_name,
concat("=HYPERLINK(\"http://www.site.com/product_info.php?products_id=",products_id,"\")"),
products_description from products p;
so the resulting excel/xml column will be =HYPERLINK("http://www.site.com/product_info.php?products_id=1223") and it will be clickable when you open the file in excel.
The other way to handle this is after you open it in excel:
Let's say the links are in column C. Make a new column D, in cell D2 insert the formula
=HYPERLINK(C2) then press enter, click on cell D2, copy, then select the entire column D, paste. Now you have a column of clickable links.
-Z
One of the ways is to show the result of the query in a grid like GridView control and then export the Grid. This will causes the underlying HTML to get exported as well (i.e GridView HTML and all the controls inside the GridView).
After that when you open the Excel file you will see the links intact. Here is an article which talks about exporting GridView to excel.
http://www.highoncoding.com/Articles/197_Extensive_Study_of_GridView_Export_to_Excel.aspx

Resources