After some minor changes, I managed to get it working with the ExtJS 3.2 RowEditorGrid. One column for setting foreground, one for background and one for preview of both.
I have just done a diff side by side. The ColorField source code is significantly different. Try to get one from http://www.sencha.com/learn/Extension:ColorField and see whether that works for you.
As for changes I have made, I'll need sometime to writeup what I have done. Will let you know probably in a week or so.
Anyone know why the select event wouldn't fire? On my workstation I have proper behavior but when the code is pushed to the staging server the event never fires, and the menu stays open.
Both deployments are based on the same git repository, so I'm confused.
Hi,
I am using ColorField for my project, but I am experiencing problems with setValue. My Firebug informs me: 'this.el is undefined' (this.el.setStyle in ColorField.js line 136)
My code:
var settingsAgtOfflineColor = new Ext.form.ColorField({
id: 'settingsAgtOfflineColor',
fieldLabel: softdial.lang.reporter.settingsAgtOfflineColor,
hiddenName:'settings_AgtOfflineColor',
showHexValue:true
});
var UIOptions = new Ext.FormPanel({
id:'UIConf',
title: softdial.lang.reporter.settingsUIOptions,