Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

TreeList - Editing via Context Menu

$
0
0
This example illustrates how to edit the MVC TreeList via a separate PopupMenu.
The main implementation details:
- Store the Parent Node Key data within a node by handing the TreeListSettings.HtmlRowPrepared event;
- Handle the client-side ASPxClientTreeList.ContextMenu event, show the context menu via the client-side ASPxClientPopupMenu.ShowAtPos method, and store information about a hovered node key/parent key;
- Handle the client-side ASPxClientMenuBase.ItemClick event and invoke the corresponding CRUD command via ASPxTreeList's client-side API.

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>