I think you access a Hidden's value before updating. You might need to send a grid's data as an extra parameter of a DirectEvent.
EXPORT from GridPanel to Excel
-
30-05-2022 - |
Question
I am ext.net(Version 1.6) using vb.net (code Behind). Please Take a look at my JavaScriptFunction:
<script type="text/javascript">
var saveData = function () {
GridData.setValue(Ext.encode(GrdAppointment.getRowsValues({ selectedOnly: false })));
alert("Hello! I am an alert box!!");
};
</script>
GridData:
<ext:Hidden ID="GridData" runat="server" />
The problem am facing is that GridData is always empty and it seems that i can't find the right solution for this problem. Thank You
Solution 2
OTHER TIPS
This control is WPF Specific, for more information refer to the WPF Specific topic
This topic explains how to implement data export to Excel using the xamDataPresenter™ control.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow