I am using 6.1-p20180801 version of smartgwt. I want to show few customized colors in the color picker popup, like the customized_colors.jpg screenshot attached with this ticket. Though I can see setColorArray() method in ColorPicker, but I am using ColorPickerItem where I can't find any desired method. Please let me know how can I show few customized colors only in ColorPickerItem class?
Also even ColorPicker class is not working as expected - see attachment output_screenshot.jpg Here blank color buttons are also visible even after setting few color hexadecimal values say 8 colors in setColorArray. I just want these 8 colors to display, don't need empty color buttons. I don't need More button as well.
One more thing, is there any option to add clear button on this popup which will clear the selected color?
Thank you in advance.
Also even ColorPicker class is not working as expected - see attachment output_screenshot.jpg Here blank color buttons are also visible even after setting few color hexadecimal values say 8 colors in setColorArray. I just want these 8 colors to display, don't need empty color buttons. I don't need More button as well.
One more thing, is there any option to add clear button on this popup which will clear the selected color?
Thank you in advance.
Comment