May 08, 2017, 12:09 PM
Transcribing webforms to MVC, rendering javascript result in grid
I'm transcribing a code snippet from webforms to MVC. And I have difficulty transcribing the following excerpt. Could someone help me with references or examples?
I need to render within a grid an html resulting from a javascript function that receives as data parameters from the grid store.
I am not able to relate the tags "Template", "Functions" and "HTML" with the MVC structure of EXT.NET.
Thks
I need to render within a grid an html resulting from a javascript function that receives as data parameters from the grid store.
<ColumnModel ID="ColumnModel4" runat="server">
<Columns>
<ext:TemplateColumn ID="tpcDataShow" IDMode="Static" runat="server" Width="465" DataIndex="VL_CAMPO"
MenuDisabled="true" Enabled="true" Resizable="false" Frame="false">
<Template ID="tplDataShow" IDMode="Static" runat="server">
<Functions>
<ext:JFunction Name="getRow" Fn="funcao.exemplo.getTable" />
</Functions>
<Html>{[funcao.exemplo.getTable(values)]}</Html>
</Template>
</ext:TemplateColumn>
</Columns>
</ColumnModel>
I am not able to relate the tags "Template", "Functions" and "HTML" with the MVC structure of EXT.NET.
Thks