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

fix(igxGrid): Grid should render all columns when grid width is set to null. #5405

Merged
merged 27 commits into from
Aug 5, 2019

Conversation

MayaKirova
Copy link
Contributor

Closes #5288

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code
  • This PR includes API docs for newly added methods/properties
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes
  • This PR includes behavioral changes and the feature specification has been updated with them

if (this.width === null && this.columnList && this.columnList.length > 0) {
let width = this.columnList.reduce((sum, item) => sum + parseInt((item.width || item.defaultWidth), 10), 0);
if (this.hasVerticalSroll()) {
width += this.scrollWidth;
Copy link
Member

@skrustev skrustev Jul 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should add also the features extra columns width and etc.
Otherwise for example if Row Selection is enabled it will create scrollbar because the column containing checkboxes is not taken into account.

@MayaKirova MayaKirova requested a review from skrustev July 18, 2019 10:34
@3phase 3phase added 💥 status: in-test PRs currently being tested and removed ❌ status: awaiting-test PRs awaiting manual verification labels Jul 18, 2019
MKirova added 2 commits July 18, 2019 16:11
…nto account when calculating virtualization width as it should be equal to the sum of column widths.
@3phase 3phase added ✅ status: verified Applies to PRs that have passed manual verification and removed 💥 status: in-test PRs currently being tested labels Jul 22, 2019
@kdinev kdinev changed the base branch from master to 8.1.x July 23, 2019 07:42
ChronosSF
ChronosSF previously approved these changes Jul 23, 2019
@ChronosSF ChronosSF self-assigned this Jul 23, 2019
@ChronosSF ChronosSF added 💥 status: in-test PRs currently being tested and removed ✅ status: verified Applies to PRs that have passed manual verification labels Jul 23, 2019
@ChronosSF
Copy link
Member

Check the new issues in #5397

@MayaKirova MayaKirova added ❌ status: awaiting-test PRs awaiting manual verification and removed 🛠️ status: in-development Issues and PRs with active development on them labels Aug 1, 2019
@ChronosSF
Copy link
Member

@MayaKirova, the only issue still remaining is that the row drag column remains as empty area after row drag is disabled:

row_drag

@ChronosSF ChronosSF added 💥 status: in-test PRs currently being tested and removed ❌ status: awaiting-test PRs awaiting manual verification labels Aug 2, 2019
@ChronosSF ChronosSF assigned ChronosSF and unassigned MayaKirova Aug 2, 2019
@MayaKirova
Copy link
Contributor Author

@ChronosSF Please re-test.

@ChronosSF ChronosSF added ✅ status: verified Applies to PRs that have passed manual verification and removed 💥 status: in-test PRs currently being tested labels Aug 2, 2019
@mpavlinov mpavlinov dismissed skrustev’s stale review August 5, 2019 13:33

Requested changes were applied.

@mpavlinov mpavlinov added the squash-merge Merge PR with "Squash and Merge" option label Aug 5, 2019
@mpavlinov mpavlinov merged commit e948a41 into 8.1.x Aug 5, 2019
@mpavlinov mpavlinov deleted the mkirova/fix-5288-master branch August 5, 2019 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grid: general squash-merge Merge PR with "Squash and Merge" option version: 8.1.x ✅ status: verified Applies to PRs that have passed manual verification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants