---
title: "ext panel屏蔽右键菜单"
author: "chanball"
date: "2010-01-11T14:46:14Z"
tags: []
categories: ["Web前端"]
slug: "ext-panel"
draft: false
lastmod: "2010-01-11T14:46:14Z"
id: 567496
url: "https://javaExtjs.iteye.com/blog/567496"
---

```js

panel.on('render',function(){
			panel.el.dom.oncontextmenu = function(e){
				window.event ? window.event.returnValue = false : e.preventDefault();
			};
		});

```