Closed pbalan closed 3 years ago
Hi,
It's a bit more tricky since we do not add features to the library itself. We just maintain a wrapper for the library which exposes the features to PHP via an extension. If you have feature requests you have to contact the libxl support directly.
Addressed in PR #199
The library libxl has "data validation". @johmue can you wrap also the followings methods?
void xlSheetAddDataValidation(SheetHandle handle, int type, int op, int rowFirst, int rowLast, int colFirst, int colLast, const wchar_t* value1, const wchar_t* value2)
void xlSheetAddDataValidationEx(SheetHandle handle, int type, int op, int rowFirst, int rowLast, int colFirst, int colLast, const wchar_t* value1, const wchar_t* value2, int allowBlank, int hideDropDown, int showInputMessage, int showErrorMessage, const wchar_t* promptTitle, const wchar_t* prompt, const wchar_t* errorTitle, const wchar_t* error, int errorStyle)
void xlSheetAddDataValidationDouble(SheetHandle handle, int type, int op, int rowFirst, int rowLast, int colFirst, int colLast, double value1, double value2)
void xlSheetAddDataValidationDoubleEx(SheetHandle handle, int type, int op, int rowFirst, int rowLast, int colFirst, int colLast, double value1, double value2, int allowBlank, int hideDropDown, int showInputMessage, int showErrorMessage, const wchar_t* promptTitle, const wchar_t* prompt, const wchar_t* errorTitle, const wchar_t* error, int errorStyle)
void xlSheetRemoveDataValidations(SheetHandle handle)
Thanks in advance Fabrizio
That is already in PR #199 waiting to be merged by @iliaal
@johmue thanks very much for the fast answer
Any update on when this will be merged?
Hi,
I wanted to ask if you plan to add data validation feature to this library?
https://github.com/PHPOffice/PHPExcel/blob/develop/Documentation/markdown/Overview/08-Recipes.md#setting-data-validation-on-a-cell