iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
hi,
can i hide items of RowContextMenu? for example:hide goto filter row,refresh Grid,show client help.
Hi Gao Yixin,
Attached is a notepad with all the methos inside it. You can simply use the same Java script code to implement them with the menu objects. Thank you and have a nice day.
Best Regards,
Andi Santoso
Hi Gao YiXin,
Yes, you can hide items of row context menu. In order to do so, we will need a client side event of OnRowContextMenu. It will passing the menu object. From there, it will show us a lot of items in there. Simply get the object's name and set hide for it.
Here is the snippet of code to hide the refresh menu:
function WebGrid1_OnRowContextMenu(controlId, rowType, rowElement, menuObject){ var WebGrid1 = ISGetObject(controlId); menuObject.Items.GetNamedItem("mnuRefresh").Hide(); return true; }
I hope it helps. Thank you and have a nice day.
Hi Andi ,
thank you for replying me. I know this method ,but i don't know the name of items,and i don't get they in webui document .Can you tell me how to get the name?for example:"goto filter row","refresh Grid","show client help". can you give me the code of how to hide all items of row context menu if you have time? thanke you!
Yixin
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname