PDA

View Full Version : Color picker



manog
29 Feb 2012, 12:04 AM
i am using Ext js 3.4 version
i got plugin from
Forum (http://www.sencha.com/forum/index.php) / Ext JS Community Forums 3.x (http://www.sencha.com/forum/forumdisplay.php?39-Ext-JS-Community-Forums-3.x) / Ext 3.x: User Extensions and Plugins (http://www.sencha.com/forum/forumdisplay.php?42-Ext-3.x-User-Extensions-and-Plugins) / for color picker in editor grid panel.Now it will be working fine.After choose the color from color picker,the hex decimal value and color is added into combo field but color is not showing(hex decimal value only showing ) if i click another column in editor grid panel.So I want to show color also not only hex decimal values when i click outside of color picker column.

please help me how to approach this?

please reply me

thanks

mitchellsimoens
29 Feb 2012, 6:19 AM
Not really understanding.. when you say it doesn't show do you mean the edit didn't complete?

manog
29 Feb 2012, 6:44 AM
Ext.grid.EditorGridPanel is showing color if mouse postion is there at column.

http://www.sencha.com/forum/image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMkAAAAqCAIAAACWdOh+AAADk0lEQVR4nO2cu24TQRSGz3NQ+SlCS1A6lDSJhJQXoKFE2keIeIGRKOgQFCDhBikFCl2EtQWhQIJwSUwuduzE4SIBKdBPMWK8mcv6eL3Oetbn02i0PjtZz/z7adayrNAPgcHOzs5gMKh6FnFgsqKqZxIH4hafoVvfBQY6r6pnEQcmK3GLhbjFZ+jWN4GBzqvqWcSByYrOBQY6r6pnEQcmKxpchmh0Jb9eS3ReXug/OQOmM6kZxWQlbrEIuZUNQYLSDN06cyCi0LEme8o72BpZA3ReVjG0QG9QoXqdUtKYrOjUgYjcY7eY7d26+1dRo/Oyit7VjRVUbfLJYrKivg8iMn22aPCOMRVrZA3QeVlF7+q8geTU64fJivr9fq/Xs/rs4rMV92yo7l4z6t7k5aZkjSQi6zjbu/VZWN2UsqJeAL1y96XejayA3Lr3IvGi83Lr7mJDlfyRdcJkRScBiOxT2h5zygyw6qbiXiFedF7eU+5irUooljrlk8VkVc/llU6OW4LF0K1ut9vpdKTP73VeszCT2e9NVtQRGOi8qp5FHJis6FhgoPOqehZxYLISt1iIW3zErfEQt/gM3doWGOi8qp5FHJisCIIwHcQtLmmaJvPHi83XY7U0TdM01YmJW1y0W1sLC/PTkiQ5Or/gN6OXTkzc4iJuMfUSt8ZG3BrZDgfiViEidWux1ZrErcPBBb8diFvFmE+31DgcnPHcIhLtLjG3bjHzUUp9Pf0z2i39M6Ny7kldCLmlb565hYutlm7ZAdmKeckvhi7FfLvJ3VonAnCb1gBcoxUAdGMVAN1qAGg0GgCUUu3+KLe0VeKWBcct6x6PrISKBS7FfLup7lv74lYxXLfczaZEt8oaU4pbT4kAPKPHAK7TEwB0vwmAHt4EsLy8DEAptdfLdcsoJW5ZePct94HIccsrpftMNHVXZVfx0Jir3Lf2Tka5laXMmxM5Jbo1+Z4U2p+m9Ex8p02gXwDW9OE2ABDuAtjY2ACglPqS75ZBxLKYqWfiFbvFQSn1uStuFcLrVs4tr9Vn+aUlAFi/AHBnFQDu7QPACh4AeLW1BUAp9anzW747LQLHrexmFqp4P1rlF/kX977dle1bH4/FrULM9XenzSYAvPwL4PkjANg8B4Am3gJot9sAlFK74lYx5totBkqp3SNxqxBz6xafD4fiViEidWuSliTJm/2f/Pbecqvq/wQWE9P9+XBdMHH9A6bxH/gyL+6DAAAAAElFTkSuQmCCExt.grid.EditorGridPanel is not showing color if mouse postion is not there at column.

and also i need only color .i don't need hex values.

how to add snapshot in forums for understanding?

My color picker code is:
editor: new Ext.grid.GridEditor(new Ext.ux.form.ColorPickerField({
id:'colorPickerId',
opacity:true,
name: 'opacitycolor',
editMode:'palette',
showHexValue:false
}),{
allowBlur:false
})