/    Sign up×
Community /Pin to ProfileBookmark

Table Frozen Cells / Sortable

I’m looking for a html / javascript table that’ll be sortable by columns when needed but also lock some columns..

A good example is here

https://www.mlb.com/stats/regular-season

Can someone please help with one…

to post a comment
CSSHTMLJavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@SempervivumNov 19.2021 — Check if datatables fits your needs:

https://datatables.net
  • - Sorting can be switched off for individual columns

  • - Features not needed can be switched off by configuration

  • - Custom features can be added
  • Copy linkTweet thisAlerts:
    @kiwisauthorNov 19.2021 — @Sempervivum#1639599

    Does datatables freeze certain columns only?
    Copy linkTweet thisAlerts:
    @SempervivumNov 19.2021 — Not sure what you mean by "freeze". If you mean "no sorting possible for this colum" the answer is yes.
    Copy linkTweet thisAlerts:
    @kiwisauthorNov 19.2021 — When the table is wider than the container... you scroll left to right a specified columns remains in place you can always see the ID column for example
    Copy linkTweet thisAlerts:
    @SempervivumNov 19.2021 — Now I understand. For datatables there is an extension available:

    https://datatables.net/extensions/fixedcolumns/

    however there is a limitation:
    >fix the left or right most columns in place

    I'm afraid that this is not acceptable for you.
    ×

    Success!

    Help @kiwis spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 4.16,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,

    tipper: @Samric24,
    tipped: article
    amount: 1000 SATS,
    )...