How I can attach userData to an option (particular attribute)?
Regards
userData can be used to attach custom attributes for grid all for specified rows, it can’t be used for other purposes.
b1
some2
In this sample userdata “a1” attached to grid itself and can be obtained by
grid.getUserData("",“a1”);
userdata “some1” attached only to row “some”
grid.getUserData(“some”,“some1”);