I have a checkbox column inside Ext.grid.EditorGridPanel configured like this:
{
id: 'event-type-grid-enabled-checkbox',
header: "Enabled",
dataIndex: "enabled",
sortable: true,
clicksToEdit: 1,
editor: {
xtype:'checkbox',
name: 'enabled'
},
renderer: function(val) {
return "<input type='checkbox'" + (val ? "checked='checked'" : "") + ">";
}
}
I want to be able to trigger the afteredit event of EditorGridPanel when user checks/unchecks the checkbox. There are other columns (textfields) beside checkbox column and user can double click and edit and they work perfectly fine, afteredit gets triggered and ajax call is made to update data and so on...
when i double click the checkbox then afteredit is triggered (which is technically right but not normal for a checkbox)
I tried clicksToEdit: 1 for the checkbox object but it doesn't seem to help.
I'm new to ExtJS and i'm working on an existing mature project which uses ExtJS version 3.2.1
Thanks
I am trying to create a Bar chart using D3.js. The condition is that Bar should have fixed width and padding between the bars and it should be plot at center of grid lines. Tooltip should appear on ...
I am trying to create a Bar chart using D3.js. The condition is that Bar should have fixed width and padding between the bars and it should be plot at center of grid lines. Tooltip should appear on ...
I’m trying to make a card game in javascript. I want the user to see the front of a card when clicking the button ”clicky” and then the back of the same card when clicking again. On the click after ...
I’m trying to make a card game in javascript. I want the user to see the front of a card when clicking the button ”clicky” and then the back of the same card when clicking again. On the click after ...
I've got a list of items, each with their own checkboxes and I've decided to try add a 'select all' checkbox to make it easier for the user to select them all at once. Unfortunately I'm finding it ...
I've got a list of items, each with their own checkboxes and I've decided to try add a 'select all' checkbox to make it easier for the user to select them all at once. Unfortunately I'm finding it ...
I have following string. var str = "abc, abcd, abc, abcf, abc, abc"; I want to remove abc from a given string with , (space). Basically, I want output something like below. var output = "abcd, abcf"...
I have following string. var str = "abc, abcd, abc, abcf, abc, abc"; I want to remove abc from a given string with , (space). Basically, I want output something like below. var output = "abcd, abcf"...