You need to sign in to do that
Don't have an account?
Aruna
Unable to Open excel(.xls) file on mobile and how to make floating table headers on visualforce page
Hi there,
I am having 2 questions
1) I have developed an excel workbook with different tabs using visual force page by using below api
<apex:page contentType="txt/xml#report.xls">
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
<Worksheet ss:Name="Summary"> <Table border="0" ss:StyleID="background" x:FullColumns="1" x:FullRows="1">
<Row ss:Height="25" ss:StyleID="background"> <Cell><Data ss:Type="String"> </Data></Cell>
<Cell ss:StyleID="TableColHeader" ><Data ss:Type="String">Test1</Data></Cell>
<Cell ss:StyleID="TableColHeader" ><Data ss:Type="String">Test2 </Data></Cell>
</Worksheet>
</Workbook>
</apex:page>
I am able to generate but when I am trying to open it on mobile it is not opening.
Can any one please let me know how can we open .xls file on mobile.
2) On visualforce page I am having very long tables. when the users scroll down they want headers need to scroll down(float) .
I was doing google but didn't find proper code sample with steps. everyone was saying use Jquery . but which version of Jquery and what are other steps.
Can any one please let me know steps or sample code how to do floating table headers on visualforce page.
Thank you,
I am having 2 questions
1) I have developed an excel workbook with different tabs using visual force page by using below api
<apex:page contentType="txt/xml#report.xls">
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
<Worksheet ss:Name="Summary"> <Table border="0" ss:StyleID="background" x:FullColumns="1" x:FullRows="1">
<Row ss:Height="25" ss:StyleID="background"> <Cell><Data ss:Type="String"> </Data></Cell>
<Cell ss:StyleID="TableColHeader" ><Data ss:Type="String">Test1</Data></Cell>
<Cell ss:StyleID="TableColHeader" ><Data ss:Type="String">Test2 </Data></Cell>
</Worksheet>
</Workbook>
</apex:page>
I am able to generate but when I am trying to open it on mobile it is not opening.
Can any one please let me know how can we open .xls file on mobile.
2) On visualforce page I am having very long tables. when the users scroll down they want headers need to scroll down(float) .
I was doing google but didn't find proper code sample with steps. everyone was saying use Jquery . but which version of Jquery and what are other steps.
Can any one please let me know steps or sample code how to do floating table headers on visualforce page.
Thank you,
Then just a normal table below it. You'll need to fix all of the column width and stuff like that.