{"id":15369126,"url":"https://github.com/developit/scroll-list","last_synced_at":"2025-04-15T13:42:59.560Z","repository":{"id":29239265,"uuid":"32771312","full_name":"developit/scroll-list","owner":"developit","description":":scroll: An infinitely scrollable list/datagrid. Handles millions of rows.","archived":false,"fork":false,"pushed_at":"2015-03-24T02:41:15.000Z","size":148,"stargazers_count":48,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T11:16:11.750Z","etag":null,"topics":["datagrid","javascript"],"latest_commit_sha":null,"homepage":"http://jsfiddle.net/developit/j8swt8zb/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-24T02:26:47.000Z","updated_at":"2023-09-25T07:40:14.000Z","dependencies_parsed_at":"2022-07-25T22:18:01.747Z","dependency_job_id":null,"html_url":"https://github.com/developit/scroll-list","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fscroll-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fscroll-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fscroll-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fscroll-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developit","download_url":"https://codeload.github.com/developit/scroll-list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249081888,"owners_count":21209773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datagrid","javascript"],"created_at":"2024-10-01T13:34:18.172Z","updated_at":"2025-04-15T13:42:59.525Z","avatar_url":"https://github.com/developit.png","language":"JavaScript","readme":"ScrollList\n==========\n\n\u003e An infinitely scrollable list/datagrid.  \n\u003e Throw millions of rows at it, it won't even affect performance.  \n\u003e [JSFiddle Demo](http://jsfiddle.net/developit/j8swt8zb/)\n\n\nUsage\n-----\n\n```js\nvar list = new ScrollList({\n\t// use `transform:translateY()` instead of `top` to offset contents?\n\tuseTransforms : false,\n\t\n\t// debounce scroll events using requestAnimationFrame()?\n\tbufferedScrolling : true,\n\t\n\t// provide a DOM node to clone, used as a template for each row\n\ttemplate : document.getElementById('row-template').content.firstElementChild\n});\n\n// insert the list into an element:\nlist.insertInto(document.body);\n\n// generate and display 1,000,000 rows\nvar mil = [];\nfor (var i=1e6; i--; ) {\n    mil[i] = {a:i+'a', b:i+'b', c:i+'c'};\n}\nlist.setData(mil);\n\n// later on, select a row:\nlist.data[5].selected = true;\nlist.update();\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fscroll-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopit%2Fscroll-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fscroll-list/lists"}