{"id":15488008,"url":"https://github.com/calebhearth/full-row-select","last_synced_at":"2025-03-24T05:45:20.392Z","repository":{"id":2076224,"uuid":"3015423","full_name":"calebhearth/full-row-select","owner":"calebhearth","description":"Über lightweight jQuery tool to implement full row select on tables","archived":false,"fork":false,"pushed_at":"2011-12-20T18:19:15.000Z","size":96,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-29T11:44:27.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calebhearth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-12-19T22:13:46.000Z","updated_at":"2013-11-04T06:59:37.000Z","dependencies_parsed_at":"2022-08-26T14:11:06.071Z","dependency_job_id":null,"html_url":"https://github.com/calebhearth/full-row-select","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/calebhearth%2Ffull-row-select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebhearth%2Ffull-row-select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebhearth%2Ffull-row-select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebhearth%2Ffull-row-select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calebhearth","download_url":"https://codeload.github.com/calebhearth/full-row-select/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217793,"owners_count":20579297,"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":[],"created_at":"2024-10-02T06:46:21.350Z","updated_at":"2025-03-24T05:45:20.367Z","avatar_url":"https://github.com/calebhearth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"To use Full Row Select, simply add the following to your html:\n\n    $('#element-id').fullRowSelect();\n\nYou may want to do this after the document has loaded:\n\n    $(document).ready(function() {\n      $('#element-id').fullRowSelect();\n    });\n\nYour table should have two rows allotted to each data row.\nThe first is constructed like any other table, with cells corresponding to\nthe header's cells.  The second row should have its colspan attribute set to\nthe number of columns in the table, and contains a single cell with whatever\ncontent it is that you would like to be shown on click.  This can include\nimages, links, videos, whatever.\nAnything that can be inside a table can be in the one cell.\n\n    \u003ctable id='element-id'\u003e\n      \u003ctr\u003e\n        \u003cth\u003e\u003c/th\u003e\n        \u003cth\u003e\u003c/th\u003e\n        \u003cth\u003e\u003c/th\u003e\n      \u003c/tr\u003e\n      \u003ctr\u003e\n        \u003ctd\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003c/td\u003e\n      \u003c/tr\u003e\n      \u003ctr colspan=3\u003e\n        \u003ctd\u003e\n          [extra content lives here]\n        \u003c/td\u003e\n      \u003c/tr\u003e\n    \u003c/table\u003e\n\nExcluding the header, every even numbered row will be hidden.\nOdd rows will have the class 'collapsed' and a click event added.\nWhen the .collapsed rows are clicked, they will toggle the hidden attribute\nof the next row, and the class .uncollapsed will be toggled on the row\nclicked.\n\nBecause of the click event, links do not function properly.  The click on the\nlink will trigger toggling the hidden attribute of the child row, then the\nlink will load.  A patch to fix this would be appreciated, as it is not\nimportant enough to me right now to fix this functionality.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebhearth%2Ffull-row-select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalebhearth%2Ffull-row-select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebhearth%2Ffull-row-select/lists"}