I have a SelectItem
which was set to multiple as the editor for the column.
The values are saved in a String[]
object.
As the editor is on non-edit mode, it shows the memory address of that object. How could I handle it to show the value in the array, or is there anywhere I can set for this column to always show its editor?
Using the java class Arrays, a static
toString
method is provided for you to print the content of an array.String arrayAsString = Arrays.toString(inputArray);