This is a migrated thread and some comments may be shown as answers.

Context menu appear and disappear in IPAD for RadGrid

1 Answer 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lakpa
Top achievements
Rank 1
Lakpa asked on 11 Apr 2014, 02:51 PM
Hi,
    Currently I am facing an issue with longtouch event for Grid. I attached a contextmenu for the grid.

<Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" ScrollHeight="250px" />
when I press longtouch
. When there is scrollheight and then the grid has many records and it has scroll bar, then the ContextMenu appears and disappear in IPAD.
. When there are few records and no scroll bar then the Contextmenu stay when it open.

I have attached a gif file showing the problem.

Thanking you
Lakpa Sherpa

1 Answer, 1 is accepted

Sort by
0
Accepted
Galin
Telerik team
answered on 16 Apr 2014, 02:18 PM
Hi Lakpa,

The TouchScrollExtender conflicts with the implemented events of the context menu. This currently is not supported scenario, but you can cancel the scroll events during the showing of the menu, e.g.
function longTouch()
{
    var radGrid = $find("RadGrid1");
    if (radGrid._scrolling._dropDownTouchScroll)
        radGrid._scrolling._dropDownTouchScroll.disable();
    radGrid._contextmenu(ContextMenu);
}

I hope this helps.

Regards,
Galin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Lakpa
Top achievements
Rank 1
Answers by
Galin
Telerik team
Share this question
or