Dec 21, 2011, 10:53 AM
Any event when an item is added or deleted from dataview?
Hi,
I am using ext.net dataview.
I need to call a javascript function, when a new item gets added to the dataview, or an existing item gets deleted from dataview.
This is my dataview
Regards
Jophin
I am using ext.net dataview.
I need to call a javascript function, when a new item gets added to the dataview, or an existing item gets deleted from dataview.
This is my dataview
<ext:DataView ID="dv" CollapseMode="Mini" runat="server" AutoScroll="true"
StoreID="StoreMS" SingleSelect="true" ItemSelector="div.thumb-wrap1" AutoHeight="True">
<Template ID="Template3" runat="server">
<Html>
<div class="odpanaroma" id="odtestdiv">
<tpl for=".">
<div class="odpanaromaitem">
<div onclick="javascript:SaveData();">
<div class="thumb-wrap-android" id="{TemplateId}" >
<img style="width:45px;height:45px" src="{BgImage}" title="{caption}" >
<span class="x-editable" style="width:60px; height: 25px; color : {ButtonTextColor}; background-color :{CaptionBackground} ">{caption}</span>
</div>
</div>
</div>
</tpl>
</div>
<div class="x-clear">
</div>
</Html>
</Template>
<PrepareData Fn="prepareData" />
</ext:DataView>
Any help is really appreciatedRegards
Jophin
Last edited by Daniil; Dec 22, 2011 at 6:54 AM.
Reason: Please use [CODE] tags