extjs

ExtJS display link in new tab

Hello, I am using ExtJS version 2. I am clicking a button to add new tab to a TabPanel. The new tab function looks like this: function addTab(tabTitle, targetUrl){ tabPanel.add({ title: tabTitle, iconCls: 'tabs', closable:true }).show(); } I would like to know if it's possible to get the targetU...

Crosstab / pivot query in Oracle's PL/SQL - iBatis - Exjs and JasperReport

Hi all, I tried to create a pivot table created from a table in Oracle 10g. here is the table structure : CREATE TABLE KOMUNIKA.STOCK_AREA ( PRODUCT_CODE VARCHAR2(20 BYTE) NOT NULL, PRODUCT_NAME VARCHAR2(50 BYTE), AREA_CODE VARCHAR2(20 BYTE), AREA_NAME VARCHAR2(50 BYTE), QUANTITY NUMBER(20,2) )...

ExtJS TabPanel missing scroll bar in ViewPort

I have a ViewPort that I want to open a number of tabs. One of my tabs is really long and should scoll off the bottom of the page. However, the scrollbar is missing from the side. Here's my Viewport setup: var viewport = new Ext.Viewport({ layout:'border', enableTabScroll:true, deferredRender:true, items:[ new...

ExtJS FormPanel in a FormPanel fails with "this.body is null"

I have a rather complicated setup which I have boiled down to the code below. I have an outer FormPanel, where I am trying to include a component that is a sub-class FormPanel. In FF it is causing a "this.body is null" error. Is this happening to anyone else? Is it possible to get this to work? I very much do not want to have to tou...

[ext js] Renderer for ColumnTree?

Hello! I'm trying to add a custom renderer to a ColumnTree in Ext JS. Since it appears(?) that this isn't supported, does anyone know of any workaround to use a renderer? Here's a snippet of code - let's just say (hypothetically) that I have a renderer I'd like to use for the documentsVersion tab below - does anyone have any ideas? ret...

Why does Ext JS 3.0 break my grid filter input field?

Here's a snippet of code, inserted immediately after creating my grid, that worked fine under 2.0: var gridFilter = Ext.get(gridToolbar.addDom({ tag: "input", type: "text", size: "25", value: "", cls: "x-grid-filter"}).el); gridFilter.on("focus", function(){this.dom.select();}); Now, I get a JavaScript error on the...

Adding an Ext.Button class into a Box Component

Hello, I'm working with extjs 2.2.1, having a bit of a trouble adding a button into a box component class. From my understanding, because box component extends the component class, it has no config options that allow an item to be added. So the code below does not work... new Ext.Viewport({ layout : 'border', items : [new Ext.Bo...

Flex datagrids - Alternatives in non-flex/flash environment ?

I did some work that used Flex datagrids previously. It was smooth for the users and developers alike. In my current project, I have to implement the same grids but not using Flex / Flash. I have taken a look at extJS and YUI but they don't seem to measure up. Are there other packages I should be looking at ? ...

Auto-saving via XmlHttpRequest from EditorGridPanel in ExtJS 3.0?

I have an EditorGridPanel in Ext JS 3.0, populated via HttpProxy and JsonReader, and I have an editable column "working"--I can edit the value and it flags it as dirty. Now, how do I get it to, after a cell has been edited, send an XmlHttpRequest to the server with a few base parameters, the row's ID field, the name of the column change...

Extjs internet explorer object not found problem.

hi; this code run firefox , but error on ie why ? please help me. xxx.js code: var gridFormf = new Ext.FormPanel({ id: 'company-form', frame: true, labelAlign: 'left', title: 'İş Emri', bodyStyle:'padding:5px', width: 1, tbar: [ newIsEmri,delIsEmri,edIsEmri,rapIsEmri,se...

Extjs - Remove newly added selected item from store

I have to remove a selected item in an editorgrid. First the store is loaded and the user can choose to add or delete blank rows to this grid which they can then edit. The problem is not with removing initial records loaded from the store. The problem comes in when I add an additional row, edit it and then choose to remove it (user may d...

Extjs radio addevent problem

Hi ; i'am add radio buttons on click event. but not working. my code : RadioPanel : RadioPanels = new Ext.Panel({ layout: 'table', id: 'newRadioEdit', name: 'newRadioEdit', //title:'Servis Durumu', bodyStyle: Ext.isIE ? 'padding-left:35px;' : 'padding-left:35px;...

Is smartclient suitable?

Dear Sir, would you say that SmartClient is suitable when you have thousands of users editing grids? Or will the waiting time for the intended end-users most likely be very long? I have received warnings before that ExtJS would not be suitable. Thank you ...

Object type determined at runtime - Javascript (ExtJS)

Hi All, This may not be possible (or might be dead easy! :) ) so here it is... I want to be able to create objects of a type that is dependant on a variable set, without the need for a big switch statement. I think it is possible in PHP to do something like... $objectType = "myNewClass"; $newObject = new $objectType(); where the $n...

ExtJS and Rails : How to pass data to ExtJS

I use Rails for building a web application. I want to create a list of records and display this list using ExtJS and its Grid module. What is the best way to pass my data from Rails to ExtJS? It would be nice, if the ExtJS code gets rendered while rendering the html, so no AJAX-calls are needed. Best regards ...

Best Way to automatically compress and minimize JavaScript files in an ASP.NET MVC app

So I have an ASP.NET MVC app that references a number of javascript files in various places (in the site master and additional references in several views as well). I'd like to know if there is an automated way, and if so what is the recommended approach, for compressing and minimizing such references into a single .js file where poss...

How to create animated text using ExtJs

Can any one please help to how to create animated text using ExtJs ...

Ext JS GroupingStore group DateTime column by just date?

I have an Ext GroupingStore on a list of orders. One of the columns is a DateTime. I would like the user to be able to group by the DateTime column and have all days under one group. At the moment, each date, hour, minute and second is one group... not very useful :-) Any way short of two columns to accomplish this? ...

ExtJs Combobox Resize Problem on IE6

A Combobox in the following constellation (extremely pruned code) has problems resizing in IE6. A little debugging revealed that it doesn't receive an event when trying to shrink the west region via splitter. Ext.onReady(function(){ var grid = new Ext.Viewport({ layout: 'border' ,items: [{ region: 'west' ,wid...

One-to-many Associations Empty Columns Issue (Ext on Rails)

I'm playing with rewriting part of a web application in Rails + Ext. However, I'm having trouble getting an associated models' name to display in the grid view. I've been able to successfully convert several models and arrange the views nicely using tabs and Ext's layout helpers. However, I'm in the middle of setting up an association ...