Questions tagged [extjs6-classic]

The classic toolkit provides traditional Sencha Ext JS application support. This includes support for most desktop browsers, tablets, and touchscreen enabled laptops. The classic toolkit is ideal for developers seeking legacy browser support (IE8+) with traditional Ext JS componentry.

395 questions
0
votes
1 answer

checkbox issue inside renderer function extjs6

I have built component like below. Where i want to just display check box to user and when user double clicks the row, checkbox become editable. clicking the checkbox works fine, but when user unticks the checkbox render function check box does not…
Hacker
  • 7,798
  • 19
  • 84
  • 154
0
votes
1 answer

getrowclass inside initcomponent does not work

I have code like below initComponent: function() { var me = this; this.callParent(arguments); var rowAlerterCond = this.rowAlerter; if(rowAlerterCond !== undefined && rowAlerterCond !==null && typeof…
Hacker
  • 7,798
  • 19
  • 84
  • 154
0
votes
1 answer

How to implement "close expanded tagfield when its label is clicked in ExtJS6"?

By default a tagfield cannot be closed when clicking on its field label, so if there is a form full of tag fields it's hard to find a sweet spot where you can click without expanding one of them. I'd like to keep the triggerOnClick behavior when it…
GF. Service
  • 108
  • 1
  • 8
0
votes
1 answer

Highlight/ change background color of cell using another data

I have 2 columns like TPF and TPF_FLAG which i get from my rest service. TPF_FLAG will be 0 or 1 which indicates that should i change the background color of TPF cell or not. If it 1 that TPF cell background should be red. How do i do this?
Hacker
  • 7,798
  • 19
  • 84
  • 154
0
votes
1 answer

Show newly added record as dirty i.e. red color on top

I am adding new record in grid like below var newRow = Ext.create(gridModel); rowEditPlugin.cancelEdit(); gridStore.insert(0, newRow); reportGrid.getView().refresh(); reportGrid.getView().getSelectionModel().select(0); …
Hacker
  • 7,798
  • 19
  • 84
  • 154
0
votes
2 answers

Scroll a row into view programmatically in buffered grid

I have a buffered, grouped grid and I want to scroll into view a certain row (I have both the record and the record's/row's index at hand). I have tried the undocumented grid.getView().scrollRowIntoView(index) but this only works in unbuffered…
Alexander
  • 19,906
  • 19
  • 75
  • 162
0
votes
1 answer

getselectionmodel when using treelist not available

I am using tree list and trying to use getselectionmodelbut throwing error. If i use tree panel instead of tree list it works. this.up('panel').getSelectionModel().getSelection(); https://fiddle.sencha.com/#fiddle/1fpf
Hacker
  • 7,798
  • 19
  • 84
  • 154
0
votes
2 answers

Access root property in ExtJS custom view? / Duplicate components

For testing purposes, I made 2 views. One that requires the other view. Now I want people to be able to open components multiple times as a tab, so I obviously have to assign unique ID's to each tab and element inside of the component, right? My…
Technidev
  • 96
  • 1
  • 4
0
votes
0 answers

ExtJS 6 - Missing CSS Statements after compilation

Enviroment I have an extjs 6 application which is already compiled and the css files like they should be. This application wasn't compiled for a while and now it's generating a different (wrong) css file. Since someone else changed the app, I have…
Jan
  • 1,004
  • 6
  • 23
0
votes
1 answer

Autosize grid columns as per value in grid value in extjs6

I want to autosize the grid columns to max size of the content. How do i do this. i see only autoSize function on grid column, not sure how to use it.Say column header width is more then the column data width, that should be used. I have used…
Hacker
  • 7,798
  • 19
  • 84
  • 154
0
votes
1 answer

Find the grid on which the context menu item is clicked on

I have a grid panel and i have a item context menu on it, which have sub items as well. When a user clicks on the sub menu item or context menu item, i want to know on which grid panel this context menu is on. Can i do this?
Hacker
  • 7,798
  • 19
  • 84
  • 154
0
votes
1 answer

format and renderer not working together in etxjs6

I have written a field like Ext.define('Abc.view.component.grid.Mes', { extend: "Ext.grid.column.Number", text: 'Mes', dataIndex: 'Mes', xtype: 'Mes', format:'0', renderer: function (value) { return (value ?…
Hacker
  • 7,798
  • 19
  • 84
  • 154
0
votes
2 answers

Not able to make as alias or xtype of data field

I have defined like Ext.define('Abc.view.component.model.RegModel', { extend: 'Ext.data.field.String', alias: 'regionModel', name: 'REGION', }); Ext.define('Abc.view.report.trig.Model', { extend: 'Ext.data.Model', …
Hacker
  • 7,798
  • 19
  • 84
  • 154
0
votes
2 answers

Extjs6:Error running sencha ant sass command

I am new to extjs. I have created an extjs 6.0.2 app through sencha cmd. I ran the command sencha app build classic.everything went well and the app was created successfully.but when I ran the command sencha ant sass, I got the following error in…
AngryLeo
  • 390
  • 4
  • 23
0
votes
1 answer

Font size picker for whole application

I would like to make a font size picker that allows our users to select a certain font size (e.g. 110%, 125%) for display of the ExtJS application. I don't want to use zoom or browser zoom, because there are parts that look ugly using browser…
Alexander
  • 19,906
  • 19
  • 75
  • 162