PDA

View Full Version : Color Picker in Grid Column



vinothsencha
4 Dec 2013, 5:15 AM
I am having a grid panel which contains multiple columns.
I need to provide a color picker in one of the column.

Based on the selected color in the color picker column, i need to fill it for the row background.
In each row, we can select different colors.

Can you please someone tell me how to do this?

scottmartin
4 Dec 2013, 5:59 AM
His is a good UX for placing custom controls in a column:
http://skirtlesden.com/ux/component-column

vinothsencha
4 Dec 2013, 7:56 AM
Thanks for the link scott...
But it does not have sample code to display color picker..

Can you please tell me how to provide color picker in a column for each row?

scottmartin
4 Dec 2013, 8:32 AM
Did you want the actual picker, or a color field like this?
http://ryanpetrello.com/ext-ux/ColorField/

You can search our plugins for several versions:
http://www.sencha.com/forum/forumdisplay.php?82-Ext-User-Extensions-and-Plugins

vinothsencha
5 Dec 2013, 2:49 AM
Yes. i want the color picker

On clicking of a grid column, I need to display a color picker.
Then i need to set the selected color as a background color of a row.