Problem with scroller + swidth using json

Open
#35 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by reproducing the issue in the linked jsfiddle, using Scroller with sScrollY, sWidth, bAutoWidth false, and JSON/Ajax loading. Compare the column widths before and after the data loads, and review the linked DataTables forum discussions for context. Done means configured header widths remain unchanged after JSON data is loaded.

Written by the indexing model from the issue text.

Description

I posted a discussion on datatables forum but this is probably the best place for my problem.

I have the same problem as described in http://datatables.net/forums/discussion/19089/datatables-bautowidth-false-not-working-when-sscrolly-is-set but it's still not working with the nightly build (which was the solution on that discussion). When loading through json/ajax header width is ignored and the columns get resized. You can even see how the column has one width before loading the json data and one after. I've made a fiddle showing the problem, I'd appreciate any help!

http://jsfiddle.net/nmaurer/fa8Lbwxy/

You can see the discussion here: http://datatables.net/forums/discussion/24259/column-swidth-not-working-when-scrolly-is-set-and-json-is-used#latest

Thanks!!!

Dominant language
TypeScript
Stars
83
Forks
66
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DataTables/Scroller

All issues in DataTables/Scroller

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.