1) How to set HTML to  already created panel or any other Element?  I am a beginner. I tried the below to set some content inside the HTML  var clickedElement = Ext.getCmp('id').el.child('>'); clickedElement.setHTML("hello"...
I have a JSON String comes from the server side:  {"success":"true","total":"6","list":   [{"id":"1","name":"folder1","parentid":"null","type":"0"...
In Extjs 4.1.1a, How to keep the tip text of the slider always visible?  Currently, the tip text is being visible whenever the user drags the bar of the slider. I searched on docs but couldn't find any related concepts.  If it is not documented o...
I'm creating an extjs grid panel which has a user configurable set of columns. The Ext.grid.Panel component provides a handy reconfigure(store, columns) method for exactly this purpose.  This method works as expected to reconfigure a grid's s...
This the model that I want to create using json file  Ext.define('Users', {     extend: 'Ext.data.Model',     fields: [{name: 'user_id',  type: 'int'},     {name: 'user_name',  type: 'string'}] });   Wh...
In my project, I am trying to add the tip text (config) dynamically to a slider.  How to do that? I need to add it dynamically because I am generating the array of variables in a "Controller", which holds the text for each value of the slider...
Consider the following example class Parent:  Ext.define('Parent', {      ...     listeners: {         render: {             fn: doSomething         },     },   };  and the following class Child extending default Parent above:  Ext.define(...
I have managed to implement a treepanel and everything seems to be working. I have data like so ( see below). My fields I "name" which holds below things like "ItemA", "ProductA" which are nodes and the "Iron" which is...
I need to add a newly-created MenuItem at runtime; so my code currently looks like:  var myMenu = myCmp.query('mymenu')[0]; // retrieve my only Menu object var menuItem = Ext.create('Ext.menu.Item', {     itemId: 'myItemId', t...
I am still learning Extjs and mvc so I have a design question that I am sure someone can answer for me. My question is:  I have 2 controllers that handle two different views. Either of the two controllers are called to render the correct view based o...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.