Adding custom property editor to Grid Style (Spectrum Colour Picker)
Any ideas how to get this into the grid editor Style?
I expected that the defaults for the prevalue fields to work out of box. Though it would be nice to know how to configure them. (Maybe "config"?)
Tried this:
{
"label": "Color Spectrum Background",
"description": "Choose a color for the background",
"key": "background-color",
"view": "/App_Plugins/SpectrumColorPicker/SpectrumColorPicker.html",
"applyTo": "row"
}
Got this:
Also dug a little more and seeing this error in the console:
angular.min.js?cdv=1:63 TypeError: Cannot read property 'enableTransparency' of undefined
at c.spectrumColorPicker (SpectrumColorPicker.controller.js?cdv=1:34)
at d (angular.min.js?cdv=1:28)
at Object.instantiate (angular.min.js?cdv=1:28)
at angular.min.js?cdv=1:53
at angular.min.js?cdv=1:44
at n (angular.min.js?cdv=1:7)
at k (angular.min.js?cdv=1:44)
at e (angular.min.js?cdv=1:40)
at angular.min.js?cdv=1:39
at angular.min.js?cdv=1:158
(anonymous) @ angular.min.js?cdv=1:63
Update:
I went ahead and added the config settings thinking that might be the issue and now have this...
Adding custom property editor to Grid Style (Spectrum Colour Picker)
Any ideas how to get this into the grid editor Style?
I expected that the defaults for the prevalue fields to work out of box. Though it would be nice to know how to configure them. (Maybe "config"?)
Tried this:
Got this:
Also dug a little more and seeing this error in the console:
Update: I went ahead and added the config settings thinking that might be the issue and now have this...
Added:
Now, after clicking, I have this:
So that worked!!!!
HI Can you please let me know where you have added the config - in which file.
It didnt work for me.
Please help!
thank you!
Backoffice -> Grid Data Type -> Row configurations.
In this example I am using the ColorPickerU8
is working on a reply...