HI,
Can somebody point me out if if ExtJS 7 community edition comes with ux libraries, and if not, what options do I have to add a search box to the grid?
Thanks.
Type: Posts; User: mysticav
HI,
Can somebody point me out if if ExtJS 7 community edition comes with ux libraries, and if not, what options do I have to add a search box to the grid?
Thanks.
Thanks. It works.
Is there a way to disable (hide the "+" expansion icon) on a specific row under certain condition?
Following the official example, let's say a Company does not have orders. In such chase there's...
ExtJS 6:
Set this on Application.js launch method:
Ext.Ajax.defaultHeaders = {
'X-Requested-With' : 'XMLHttpRequest'
};
Ext.Ajax.setConfig('withCredentials', true);
...
I overrode Ext.data.proxy.Server
So far it works for me. I'm not sure if there's any implication. It would be great if we could decide how we want the filters to be sent, since the default ExtJS...
https://www.sencha.com/forum/showthread.php?304881-Grid-does-not-show-updated-data-after-calling-load()-or-reload()
I'm trying this:
Ext.define('App.ux.form.field.ComboBox', {
extend: 'Ext.form.field.ComboBox',
alias: 'widget.ux.combo',
msgTarget: 'side',
afterLabelTextTpl: new...
Thanks.
I'll keep an eye on it.
Any workaround? This kind of basic functionality. It it resolved in ExtJS 6?
Hi,
I'm using Ext 5.1
I have a grid that shows 10 records. If I change data of those records by other means in the backend, and then I reload that grid. it keeps showing me the old data, which...
Did anybody figure out this solution ?
I also would like to send plain query parameters.
By the way, why is this post here, instead of ExtJS 4 Q&A ?
Found the solution. I search plugin was overriding the encodeFilters function.
Base Model:
Ext.define("App.model.Base", {
extend: "Ext.data.Model",
schema: {
namespace: 'App.model',
proxy: {
type: 'rest',
actionMethods:...
Hi,
I have a remote store. From the ViewController I'm trying to apply a filter to that store.
this.getStore('users').filter('company',1234);
The request to server is sent like this:
...
Please go here:
https://www.sencha.com/forum/showthread.php?302679-applying-filter-sends-always-query-property-instead-of-the-actual-property.&p=1106442#post1106442
Cool,
Thanks. This is what I did:
store.remove(rec);
store.sync({
callback: function(batch, options){
if(batch.exception){
Hi,
I'm using Rest Proxy. When I delete a model with erase() it is removed from store whether it is successfully delete it on the server or not.
How can I prevent that ? I need to keep the...
HI,
Let say I want to edit a user model. I change properties, and then call save.
The request goes like this:
PUT
http://localhost/api/user/324232-d268-11e4-b9d6-232sdw2432
Thanks.
Here is the solution to dynamically handle the rootProperty content for collections or single records:
rootProperty: function(raw) {
return raw._embedded ?...
What about loading a model directly:
App.model.User.load('xxxxxxxxxxxxxxxxx', {
callback: function(model) {
}
});
In this case, according to HAL standards, I won't get a...
Hi,
Trying to load a model via REST, but the id I provide is not sent. Instead, the phantom generated value is sent: "User-1"
var user = Ext.create('App.model.User');
...
Found it (assuming that "currentRec" is defined in the ViewController)
bind: {
store: '{groups}',
value: '{currentRec.groupId}'
}
bind.selection is not required.
Hi,
I want to update a property of a model when a combo record is selected. In this case, a User belongs to a Group, so when I select a group from the combo, I want to assign that value to...
Thanks.