Nevermind, I was able to mark the anwser as best :)
Type: Posts; User: adube
Nevermind, I was able to mark the anwser as best :)
Thanks for replying as well, chan111. Would you please mark the post containing the snippet as best answer to the thread ?Again, thanks. It's always nice to see that a thread this old can still be...
Hi,
Summary
I use a chart and a grid to display some data. I would like to display the colour sprite shown in the legend for each record inside the grid as well. How can I do that ?
...
I've got not other choice to make the hack. Here's an example of use follow by the hack in question in case someone is interested.
Ext.create('Ext.chart.Chart',{
renderTo:Ext.getBody(),...
Any hint about this issue ?
Hi,
I have a stacked Column Chart, which displays the first item at the bottom of a bar and the last on top. My issue is that when displaying a legend to the right (or left) the first items are...
Thanks for the reply.
You're right. We'll try extending the renderer method then. We hadn't noticed that this class is private, so we'll try to deal with it.
Hi,
Upgrading from 4.1.0 to 4.1.1a, we noticed that the Ext.tree.Column no longer has a renderer method. In fact, it was renamed as 'treeRenderer' instead.
We used to extend this class and...
You're right. The scope works properly on this small example, but in my application, when I try to do the exact same thing inside a controller class definition, it doesn't work. I'm forced to set...
Hi,
In Ext 3.x, I used to be able to do this within a class :
var foo = "bar";
store.each(function(record, index, records) {
alert(foo); // alerts "bar"
}, this);
Mitchell, that did the trick.
Thanks a lot,
Alexandre
Hi,
I use the "renderer" method of the "label" property of my axe I define in a chart to define a custom value to return as such :
{
type: 'Category',
position: 'bottom',
...
Thanks to you börn, I finally got it working. It was a combination of the two ways actually.
On grid 'afterrender', I can get a hold on the grid instance, but the configStore hasn't been loaded...
Hi,
I made some modifications following that logic. Now I can see the resourcesStore property inside the config record and it has 2 resource records.
Next step, bind this store to my grid. In...
Thanks for your reply.
Okay, let me know if I get this right. When setting
store: "Resources"
inside the view.resource.Grid, it creates a store.Resources but it's not the same instance...
Sure. Here goes :
Json
{
"success": true,
"config": {
"id": 1,
"resources": [{
Hi,
I'm new with Ext JS 4.0. After reading the Data and MVC documentation, I'm now trying it out for the first time. I'm having currently having issues with the model association.
My...
but NOT the row from Saint Bartholomew. (sorry)
Hello there,
http://dev.sencha.com/deploy/ext-3.3.1/examples/dd/dragdropzones.html
That example shows something I'd like to accomplish. I'd use the DragDrop features to populate the "Drop...