Reputation: 473
I have an list of Strings (A,B,C,D,E) and i have added this list to cell using range and data validity in libre office. but it only selects one value at a time. I want something like if i select first D and then C output should be like D,C multi-select. I have already studied all the questions on stack overflow but i haven't found anything. Thanks, in advance.
Upvotes: 3
Views: 4662
Reputation: 111
POI doesn't support multi select drop down.
You can follow the below link. http://poi.apache.org/spreadsheet/quick-guide.html#Validation
Upvotes: 3
Reputation: 15882
As the provided link requires VBA scripting to do things, it is not possible to do this in POI currently as support for reading/adding VBA code is very limited. You could try to add it via the low-level API of POI, but would first find out where Excel stores the VBA code inside the .xlsx-file (it's actually a zip-file, so you can unzip it and take a look).
See the following for some pointers:
Upvotes: 3