Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Ext.define("Book", {
extend: "",
fields: ["id", "title",
{name: "author", mapping: ""},
{name: "texto", convert: function(v, record){
var texto = record.raw.pages_content_highlighted;
return texto;
proxy: {
format: "json",
type: "rest",
url: "/books"
actions: {
search: "/books/search"
store = Ext.create("", {
model: "Book"
}){ params: {query: "kent beack"}, callback: function(){}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment