Anyone tried to do this or know how I might go about implementing it?
Type: Posts; User: hhangus
Anyone tried to do this or know how I might go about implementing it?
Ok, attached is an enhanced version of the ExtJS 5.1.3 Ext.grid.feature.Grouping that allows for a static set of field/value/class mappings that will be applied to group headers when rendered.
...
Hey, I really want to change the background of the grouping header rows based on the grouped value but the only config that is exposed is 'groupHeaderTpl' which only modifies the header text area,...
That's unfortunate, it was a really good idea, just suffered from being introduced at the wrong time I think.
Can you suggest an alternative that would have similar capabilities? I particularly...
Is this no longer a thing? I can't find any link to it on the sencha website and https://manage.sencha.com just displays "Web App - Unavailable".
I really wish they'd put this in the core library so I didn't have to hunt for it.
Anyways, aside from Bleak and yyogev's fixes the follwing needs to change
if(this.field.value ===...
Can I brand the program icon, or only the apps within the program?
If we're going to publish web apps on this platform we don't want users to have to click on "Sencha Space" or whatever the name...
I think what you're looking for is a custom editor on your field. That's accomplished with the sourceConfig paramater.
...
Hrm, well I did that too but redid it with the plug-ins later because it was just so much easier. Basically, look at the plugin code and that's what you need to do yourself.
The biggest issues...
I've done exactly this myself, unfortunately the code is such that I can't easily sanitize it to show you. Here's an example of how I did it though.
Ext.define('My.app.Tree',{
...
Rather than trying to make layouts that wrap next to each other, have you considered using a view? i.e. Ext.view.View
Using a view with a tpl that creates a normal HTML table would allow its...
When you say your tree store has several "types" do you mean you are using the "typeProperty" parameter to control the model used in creation of child models?
If yes, then you should not need to...
Try changing your script url to "/ext/ext-5.0.1/build/ext-all-debug.js"
I had a similar issue when I first started playing with v5. If you look at "ext/ext-5.0.1/ext-all-debug.js" you'll see that...
I'm not an expert on theming and unfortunately don't really have answer to your specific question, but...
IMHO, creating a whole custom theme in order to change the background colour on a single...
I can think of two ways to accomplish this.
The first way, which IMHO is the best way, is to use a vbox layout on your form and align 'middle'. This has the advantage of not requiring any extra...
I'd start by exploring the other themes that come with ExtJS.
All themes inherit from a parent theme, starting with the "Base" theme. Your custom theme only needs to add to or override the parent...
The only way Ext.tip could be undefined is if the tip library hasn't been loaded yet. Make sure you've got all your dependencies included.
Try explicitely requiring it before your onReady...
This isn't going to have much effect on small array sizes, so this is more of a theoretical FYI.
IMHO you should never use Ext.Array.some() where Array.indexOf() can be used instead. The...
That's pretty confusing and seems like a really over complicated way to acheive what you want.
The way you describe it you have a field C that depends on field B that depends on field A (the...
Why do you have "storeId:'FoldersStore" on your treepanel? Pretty sure it should just be "store:'FoldersStore'". Alternatively "store:Ext.StoreManager.lookup('FoldersStore')"
I don't know if...
I think that's exactly what Scott was trying to tell you. The styles used by that example aren't part of ExtJS, they are included in a separate data-view.css file. You need to include those same...
It resizes because you are floating the menu. When you float something it means you take it out of it's normal container and make it independent on the page. When the panel is re-drawn (like when...
Add the param "adjustByMajorUnit:false" to your kg axis.
http://docs.sencha.com/extjs/5.0/apidocs/#!/api/Ext.chart.axis.Axis-cfg-adjustByMajorUnit
Assuming your Province store that is bound to the grid contains fields for both the province id and name, why don't you just use the row record bound to the grid column as provided in the renderer...
When you open a window using Javascript's window.open() that window becomes a child of the opener. You can pass data from parent to child, but this is basic Javascript programming advice and not...