Skip to content

Instantly share code, notes, and snippets.

@perryflynn
perryflynn / Ext.ux.data.proxy.JsonAjaxProxy.js
Last active June 1, 2016 08:59 — forked from aghuddleston/Ext.ux.data.proxy.JsonAjaxProxy.js
Ext JS 6 Proxy that supports JSON Request Data and preserves GET parameters
Ext.define('Ext.ux.data.proxy.JsonAjaxProxy', {
extend:'Ext.data.proxy.Ajax',
alias:'proxy.jsonajax',
/**
* proxy: {
* type:'jsonajax',
* api: {
* read:'/api'
* },
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Grid to Tree Drag and Drop Example</title>
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="../shared/example.css" />
<script type="text/javascript" src="../../bootstrap.js"></script>
<script type="text/javascript" src="../shared/examples.js"></script>