Thanks great answer.
Type: Posts; User: martinrame
Thanks great answer.
Thanks vietits!, that did the trick.
The answer raises a question, when should I use "success: false"?.
Hi, I'm using an Ext.grid.Panel with a verticalScrollerType: 'pagingridscroller" (aka Paging Grid) loaded from this JsonStore:
Great! I like that idea.
Hi, just a quick question, how can I bind the handle_event_callback to a function on a Controller?.
Thanks Florian, yes I thought about a similar solution, but I don't like to create temp files on server side. Hopefully someone finds a cleaner solution.
I need to send data to the server, who's response is a file, so I cannot handle it with the standard AJAX method.
So far, I can send GET requests by adding an "url" parameter to the button, and,...
So, the client starts the process, then the server answers back with the progress and total until it reaches the final result, where it sends the PDF stream.
I didn't test this, but can I send...
Not now, but I can do this. How?.
Yes, I thought so, but, it's better to have a more or less "real" progress.
Hi, in one app, I let the user click on a link that generates a very big PDF file. I would like to show a progress indicator to show the user the status of the process.
How can I do this?.
Hi, I would like to know how can I vertical-align text in a Ext.Grid cell. By default, text is top aligned, and I want to align to middle.
It doesn't matter, the store knows how to handle this.
In your example, you've set pageSize to 300, so, each page is handled this way:
Page 1: from 1 to 300
Page 2: from 301 to 600
How much records are your returning on each call to store.load() ?.
Each time the store tries to load data, it sends the params "start" and "limit" to your server, i.e,:
Could you paste your store definition?, the problem could be the store is not receiving the total number of elements in your dataset, if you are using an "ajax" proxy in your store, you must include...
This should work automatically, by just setting the store property on my combobox's config. But, as it doesn't seem to work, I've added an "beforeedit" event handler to my 1nst tab controller as...
Yes, the store is loaded correctly. Also I found something very strange.
My app has two tabs. On the first tab, there's a grid containing the row editor with the "Productos" combo, that is not...
I'm trying to implement a RowEditing plugin that has a column where the user can select data from a combobox.
This is the column definition for my combo box editor:
Nevermind, I re-created the window and now it works as expected.
Hi, I created a modal Ext.window.Window with autoRender and autoShow both set to false, to be able to load some data into it before showing, but the window is shown immediately after I create it...
One example could be that the requested model is no longer available on server side, in this case, an "Record not found" can be the error message.
A quick question. How should I define the returning JSON in case of failure?
Thanks Vietis, that was exactly what I was looking for,
I'm trying to load only one element in a model instance, so I'm creating a store with an Ajax Proxy, then filtering it and executing it's load method.
I would like to catch the result of load...
I would like to load an instance of a model from an Ajax call, but I can't set my desired parameters.
I know I can do this:
var Test =...