0

I am using AngularJS UI-Grid (latest version) to display datasets with different columns count and column names and data itself (CSV files uploaded by users), and I can't make columns to render with proper width - typically that files have more than 20-30 columns, and columns appears too narrow. I can make fixed width for all columns, but I want width depends from data.

Adding ui-grid-auto-resize directive don't gives much.

With width: "*" only 15 columns are rendered, and horizontal scroll is disappears

1

1 Answer 1

0

Try using width: "*" in your columnDefs

Sign up to request clarification or add additional context in comments.

2 Comments

With width: "*" only 15 columns are rendered, and horizontal scroll is disappears
Try making a Plunker for your actual code. That may help others troubleshoot it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.