Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split the table cell into multiple rows if the json field value is of type array #375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krajasekhar
Copy link

Making the table cell to split into multiple rows like in the below image and by sending the field value as array of values.
Ex:
const someJSONdata = [ { name: 'John Doe', email: ['[email protected]','[email protected]'], phone: '111-111-1111' }, { name: 'Barry Allen', email: ['[email protected]'], phone: '222-222-2222' } ]; printJS({printable: someJSONdata, properties: ['name', 'email', 'phone'], type: 'json'});
tableExample

@coveralls
Copy link

Pull Request Test Coverage Report for Build 278

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 46.309%

Totals Coverage Status
Change from base Build 276: 0.0%
Covered Lines: 232
Relevant Lines: 362

💛 - Coveralls

@krajasekhar krajasekhar changed the title Split the table row if the json field value is of type array Split the table cell into multiple rows if the json field value is of type array Oct 11, 2019
@krajasekhar
Copy link
Author

Hi,
Any update on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants