Jun 11, 2014, 4:52 AM
[CLOSED] ItemDblClick and ItemClick, both at the same grid
Hello,
When I use ItemDblClick and ItemClick, both at the same grid, both have mask, there is a problem when I double-clicks, it calls both events simultaneuosly. So it first calls the single-click handler and then it calls the double-click handler, also their masks are overlapping, which cause a 'request time out' exception. But there isn't actually any error. Please advice on how to separate the double click and single click, is it maybe possible to lengthen the click interval?
Thanks.
When I use ItemDblClick and ItemClick, both at the same grid, both have mask, there is a problem when I double-clicks, it calls both events simultaneuosly. So it first calls the single-click handler and then it calls the double-click handler, also their masks are overlapping, which cause a 'request time out' exception. But there isn't actually any error. Please advice on how to separate the double click and single click, is it maybe possible to lengthen the click interval?
Thanks.
<DirectEvents>
<ItemClick OnEvent="CellClickHandler" >
<ExtraParams>
<ext:Parameter Name="filename" value="record.data.FileName" Mode="Raw" />
<ext:Parameter Name="revidx" value="record.data.RevIdx" Mode="Raw" />
</ExtraParams>
</ItemClick>
<ItemDblClick OnEvent="CellDblClickHandler" >
<EventMask ShowMask="true" Msg="Please wait..." MinDelay="50"/>
<ExtraParams>
<ext:Parameter Name="filename" value="record.data.FileName" Mode="Raw" />
<ext:Parameter Name="revidx" value="record.data.RevIdx" Mode="Raw" />
</ExtraParams>
</ItemDblClick>
</DirectEvents>
Last edited by Daniil; Jun 13, 2014 at 10:08 AM.
Reason: [CLOSED]