Forum


Replies: 1   Views: 3507
Parsecheckboxes order of parsing
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by ldx  · 04-12-2014 - 15:54

I'd be interested in buying the coporate version of the library, but before that I need to be sure that it's going to work for my specific user case. I have this table: http://i.imgur.com/D96y8we.png and I need to check/uncheck the checkboxes you see based on a dataset i extract from a database. Now, I thought the best soultion would be to order my data in a "col1_row1, col2_row1, col1_row2, col2_row2" fashion in order to call parseCheckboxes with 0 and 1s already orderd. In order to do that, I have to know in what order parseCheckboxes proceedes when reading checkboxes, what in need is: > > > > (down) > > > > (down) Is it possible. Thanks in advance.

Posted by admin  · 05-12-2014 - 09:39

Hello, Yes, you can do that using this method: http://www.phpdocx.com/api-documentation/docxutilities/parsecheckboxes Regards.