Child table is too wide

Child table is too wide

jordonshawjordonshaw Posts: 23Questions: 9Answers: 0

I have a parent/child setup with datatables editor. The child table has a lot less columns than the parent table; however, it is defaulting to 100% width. I'm trying to figure out how to make it a lot smaller, only for the child. Here is a screenshot of what I'm talking about:

Answers

  • jordonshawjordonshaw Posts: 23Questions: 9Answers: 0

    I have found that adding a style of 50% to this DataTable wrapper does exactly what I want; however, the problem is, the ID is generated, so I'm not sure how to capture what the ID is for this wrapper in order to be able to set the style in JS.

  • jordonshawjordonshaw Posts: 23Questions: 9Answers: 0

    Just wanted to share that I was finally able to get this and it works great. Here is the answer:

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Thanks for reporting back,

    Colin

Sign In or Register to comment.