extjs

extjs reuse object

If I had: var x = new Ext.form.formPanel({ }); I wanted to reuse in two places, e.g.: var panel1 = new Ext.panel({ items:[x] }); var panel2 = new Ext.panel({ items:[x] }); Have try method Ext.extend but it did not work. If I do that it only renders one time on the page. ...

ExtJs in a ASP.NET web application

Hi everyone, I would like to understand if it is possible to use ExtJs as is (without any modification) in a web application built with asp.net server technology. practically I would like to develop a Web application with ASP.NET using ExtJs as is, but I don't know if I can use it without problems of licensing. Thanks in advance Luke ...

Flex vs ExtJS for internal system front end, what are their strengths and weaknesses?

Looking back at an internal system I just built, the common server / page model with minor use of Ajax for some UI components. I'm not sure if I'm satisfy with the end result because it seems like we spent too much time on the frontend. Not a big fan of going through all the trouble for styling and making sure the CSS works right. So ...

How to switch between 2 components in Ext JS BorderLayout region

i have created here 2 regions( west and center ) of grid panels viewport , now what i want is i want to change "xtype" dynamically of center presently "xtype" is 'examplegrid' i want to change it to 'eontable' when i click on columns of region of "west" ...... here is the code : for extjs ( function output() { Ext.ns('supplier...

How do i use reconfigure in extjs ?

Hi , i have two Ext.grid.GridPanel but i have reconfigure from one to another. How do i use reconfigure in Extjs . Ext.reg('printsuppliers1', supplierlist1.Grid); Ext.reg('printsuppliers2', supplierlist2.Grid); here supplierlist1 has an actionlistner added say 'click' so when this actionlistener is invoked i want to reconfigure su...

Is there any reason to use Appcelerator Titanium Desktop Dialogs over something like ExtJS?

i am actually quite attracted to Appcelerator Titanium at first but after using it (or rather learning it) for sometime, i wonder if its better to use something like ExtJS(Sencha)/HTML5 provided the app don't require File System access? if the app requires file system access i will have no choice but use Titanium right? if so, will it b...

How to disable the red mark indicating a dirty record in ExtJS EditorGridPanel

EditorGridPanel shows a small red triangular corner on the column that is edited to indicate an unsaved record. Since I am using autoSave, I don't need to indicate the record as dirty/unsaved. Is there an easy way to disable this ? ...

Is there some ExtJs Sample Application with open code?

Do you know of any sample application written in ExtJs which source code is open to the public? I'd like to see how code is modularized because I'm having some problems in organizing my own app. ...

extjs json decode

function symbol_handler(){ fp.getForm().submit({ url:'/index.php/ajax/test_function', success:function(resp){ //how would i access attributes of the json object? } }); edit: here is the php controller, in case it is relevant. function test_function(){ $array = array( 'success' => 'true', 'msg' =>...

how to get json property in extjs

I have json : {"files":[{"name":"1","size":"329"},{"name":"Spring","size":"153"},],"path":"C:\Programs"} and store with jsonReader var fileListStore = new Ext.data.Store({ proxy: new Ext.data.HttpProxy(connection), baseParams: { path: '', action: '' }, storeId: 'fileListStore', autoLoad: true,...

How to display horizontal scroll bar in ExtJS ComboBox ?

A combo's drop-down list gets the size of the Combo, and display of items with longer text just gets cropped. I tried fiddling with Ext's CSS for combos with no luck. Does anyone know how it can be done ? Using ExtJS 3.2.0. EDIT: Alternative solutions to improve usability will also be appreciated, e.g. getting the list to expand with...

passing javascript object to function in a jquery way?

Yeah so I've been messing around with javascript a while but only recently got into stuff like object orientation, prototyping and using objects for all functions and vars. But, many frameworks like jQuery or extJS have something I have yet to grasp, you can define an object by using a built in function for searching the dom, example: ...

Size element so it is exactly as tall as it needs to be to not scroll

Size element so it is exactly as tall as it needs to be to not scroll I am working on a tool to allow creating small "notes" that I then turn into Ext.Draggable items. What I would like to do is to have these items be sized no taller than they need to be. The elements are absolutely positioned: set position: absolute with top and left a...

Extjs 3.x: Can I make a panel or a container movable?

I have an Ext.Container and I need to add to it a user-movable object. I see elsewhere that an Ext.Window is not supposed to be nested into objects, thus what are my options regarding other movable Ext objects? Regards, Casper ...

Button click event Ext JS

I have the simple form: myForm = new Ext.form.FormPanel({ width:'100%', frame:false, items: [ new Ext.form.TextArea({ id:'notes', name: 'notes', hideLabel: true, width:350, height:200 }) ], buttons: [ { text:"Save", click: functio...

How can I prevent Ext JS from including an entity body in DELETE requests using a restful store?

When Ext JS issues a DELETE request from a restful store, it includes an entity body. Although this doesn't seem to be forbidden by the HTTP spec, Google App Engine doesn't accept such requests. So I'd like to know if there is a way to prevent a restful store from including a redundant entity body on DELETE requests. Details: Using thi...

ExtJS Panel Inheritance/Base class

I am trying to create my own Date/Time field. I know there are a few that others have made, I'm making my own . My question is as follows. I want to create a new object, DateTime, which extends Ext.Panel. I specify some properties for width, height, etc but I also specify the values for the items property which will contain a date field...

reload extjs object after ajax

I am using a star rating plugin with ExtJS that is working well, but I need to reset the displayValue after the click event. I also have a json object with {'rating':'#'} but I cannot figure out how to have ExtJS correlate this value with the Rater's displayValue property. It seems that I set it after the component is already rendered, b...

Trouble extending ExtJS Panel

I am trying to create a panel which will contain both a Date and Time field. The trouble is when I try to put this inside of another panel. The date and time fields don't show up. What am I doing wrong? Here is my code so far for the panel definition. var DateTime = Ext.extend(Ext.Panel, { id: '', xtype: 'panel', field...

what is server-side javascript ?????

what is server-side javascript ? can it replace php with server-side javascript? if it exists do extjs has serverside javascript ? ...