Questions tagged [extjs-grid]

this tag should be used on questions which use Ext.grid.Panel/Ext.grid.Grid classes in the code or the question is somehow related to components being used in a tabular grid.

This tag should be used on questions which use Ext.grid.Panel or Ext.grid.Grid classes in the code or the question is somehow related to components being used in/with a tabular grid of .

For more information regarding grids you can check: http://docs.sencha.com/extjs/6.5.0/guides/quick_start/presenting_data.html

144 questions
8
votes
2 answers

ExtJS 6: Issue using multiple editors in a single grid column

Notes ExtJS version: 6.2.1.167 Fiddle: fiddle.sencha.com/#view/editor&fiddle/1tlt This functionality worked in ExtJS 2.x and did not have any issues. Goal To have a grid (with a grouping feature and cell editing plugin) which can have multiple…
mibawork
  • 81
  • 4
8
votes
1 answer

How to set editor for a column programmatically in a grid

I have a Ext.grid.Panel with a set of columns. This grid is filtered, and depending on the filter I would like to define an editor for a column. My grid: Ext.define('Mb.view.MyPanel', { extend: 'Ext.grid.Panel', columns: [ {text:…
Lorenz Meyer
  • 19,166
  • 22
  • 75
  • 121
7
votes
3 answers

Sorting one column based on another column in ExtJs 4.1 grid

I am using ExtJs 4.1 framework. I have a grid which shows only one column (Name). The grid is associated with a store which have two fields (Name and SortOrder). The field "name" in store is associated with Name column of the grid. I want to sort…
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
6
votes
3 answers

ExtJs - Checkbox selection model, disable checkbox per row

I have a grid with a checkbox selection model. Ext.define('Mb.view.ship.OrdersGrid', { extend: 'Ext.grid.Panel', selType: 'checkboxmodel', selModel: { injectCheckbox: 0, pruneRemoved: false }, ... There are some…
Lorenz Meyer
  • 19,166
  • 22
  • 75
  • 121
5
votes
1 answer

How can I make the rowediting plugin in extjs to not add a row when I hit cancel?

Currently the rowediting plugin gives the option of update/cancel. When I hit the cancel button if it is a newly added row, I would like it to not add the new row. How can I achieve this? Here is the FIDDLE. Currently, with the rowediting, I am just…
would_like_to_be_anon
  • 1,639
  • 2
  • 29
  • 47
4
votes
1 answer

In Extjs grid On options select from combo box, it removes selection of all records from grid

On Combo select from options, it removes selection of all records from grid and even it removes selection of current record also when you finish your editing. Select all row from table. click on last column cell, it will show you combo box to edit…
swapnil solanke
  • 258
  • 6
  • 16
4
votes
1 answer

Editable Grid ExtJS, how to update row in database after editing row on grid

Firstly, sorry for my not very good english! I need make next thing: ExtJS 3.4 Editable Grid (example), which will work with json format. Input source is in json format. I did it, all work fine, like in example. I did: data downloading from…
Sharikov Vladislav
  • 7,049
  • 9
  • 50
  • 87
4
votes
2 answers

Extjs : Change grid cell value on every change of another cell in the same row

I am working on extjs Grid panel which has 2 columns as shown in the below fig. My requirement is to change "Short Name" cell value on every change of corresponding "Task Description" cell value. I have used editor for "Task Description" column as…
Sivakumar
  • 1,477
  • 2
  • 18
  • 35
4
votes
1 answer

EXT JS 4.2 Grid - Automatically check selection model checkbox

I have an EXT JS 4.2 Grid 5 columns, the 2 far right columns (1 a checkbox and 1 a radio) are not part of the EXT selection model but when one of those items are checked I would like the selection checkbox on the far left to always get selected by…
xXPhenom22Xx
  • 1,265
  • 5
  • 29
  • 63
3
votes
2 answers

Display group of checkboxes in a row inside the grid column ExtJs

I am new to ExtJS and I am trying to display the group of checkboxes in this way: I have the following code: Ext.onReady(function() { var ct = Ext.create('Ext.container.Viewport', { layout: 'border', defaults: { collapsible:…
divinen
  • 81
  • 10
3
votes
1 answer

Workaround for Bug EXTJS-22715 enableTextSelection: true has no effect inside Window

The enableTextSelection attribute doesn't work when grid is inside a window. The following code has no effect on the grid. viewConfig: { enableTextSelection: true } See this fiddle for a demonstration:…
Lorenz Meyer
  • 19,166
  • 22
  • 75
  • 121
3
votes
1 answer

How to validate Extjs Editable Grid Cell

I have an editable grid and for a particular column / field I have to implement validation. For example lets say I have a grid with 2 columns. Want to validate the symbol once enter a symbol and its quantity. For validation there will be a service…
aswininayak
  • 933
  • 5
  • 22
  • 39
3
votes
3 answers

Add Ext.Button to ExtJS columnmodel

I'm creating an Ext.grid.GridPanel. I am trying to add column with xtype: button to the column model. I am not sure, if I can do that though. Below is my code and also this is a link to jsfiddle http://jsfiddle.net/bXUtQ/ I am using extjs…
user2073131
  • 45
  • 1
  • 5
3
votes
1 answer

add items to panel and columns to grid dynamically

I am using ExtJs 4.1 and trying to add items to panel and columns to grid dynamically. My Requirement MainPanel (Ext.panel.Panel) has 2 child items: DynamicPanel (Ext.panel.Panel) I want to add this panel to the main panel dynamically. Then... I…
nilesh
  • 315
  • 2
  • 11
  • 24
3
votes
1 answer

get value from accordion and grid in extjs 4

I want to make a pdf report against the parameter of my grid value. I want to get the year from the accordion title as parameter number 1 and month name as parameter number 2. But I am not being able to do it. Can anyone please help me on this. Here…
Sumon Bappi
  • 1,937
  • 8
  • 38
  • 82
1
2 3
9 10