May 05, 2014, 5:32 AM
[CLOSED] Listeners Mask
Hello everyone,
I am going through a grid on client click and changing every cell's value on client side. It takes time.
Is there any way to show a mask on that event?
Thank you.
The script:
I am going through a grid on client click and changing every cell's value on client side. It takes time.
Is there any way to show a mask on that event?
Thank you.
The script:
<ext:Button runat="server" Text="Text">
<Listeners>
<Click Handler="selectAll();" />
</Listeners>
</ext:Button>
<ext:XScript ID="XScript1" runat="server">
<script>
function selectAll() {
var grid = #{myGrid},
columns = grid.columns;
var store = grid.getStore();
Ext.each(columns, function(column, j) {
store.each(function(record) {
record.set(column.text, true);
});
});
}
</script>
</ext:XScript>
Last edited by Daniil; May 06, 2014 at 5:59 AM.
Reason: [CLOSED]