-1
How can I add a particular column q this selected, via java-script? I am using ext.net.
<script>
var sumCheck= function () {
var resultSum;
/* todo loop selectedrows
resultSum += column(field_value); */;
alert(resultSum);
};
</script>
<ext:GridPanel runat="server" ID="grid1" Height="250px" Frame="true" StoreID="dsGrid1">
<ColumnModel runat="server">
<Columns>
<ext:NumberColumn runat="server" DataIndex="field_value" Format=",0.00" Align="Right"/>
</Columns>
</ColumnModel>
<SelectionModel>
<ext:CheckboxSelectionModel runat="server" Mode="Multi">
<Listeners>
<SelectionChange Fn="sumCheck()" />
</Listeners>
</ext:CheckboxSelectionModel>
</SelectionModel>
</ext:GridPanel>
Thank you to anyone who can help me.
hello, you are using Stackoverflow in English, use the correct language or go to https://stackoverflow.com/
– Brewerton Santos
It was bad.. custom to use the forum in English.
– Magno Costa