Organizing DataTables Plugins: Think "Bag" Metaphor for Feature Bundling?

Organizing DataTables Plugins: Think "Bag" Metaphor for Feature Bundling?

ahmed6ahmed6 Posts: 1Questions: 0Answers: 0

Hi everyone,

I was brainstorming how we often manage multiple DataTables plugins—like sorting, filtering, pagination, type detection—and realized it’s a lot like packing different essentials in a bag. Each plugin is like a tool or compartment you choose to carry depending on the task.

Would anyone find it helpful to organize plugins into “bundles” or “bags” of features, based on use-case sets? For example: a "quick review bag" might include pagination, search, and compact styling; a "deep analysis bag" might grab server-side processing, custom filtering, and advanced ordering.

Curious if anyone has seen a plugin pack or reusable bundle concept that groups related features together for easier reuse—much like grabbing a packed travel bag. Thoughts?

Replies

  • allanallan Posts: 65,056Questions: 1Answers: 10,772 Site admin

    Interesting idea - thanks for posting it. I'm curious how you might distribute such a bag? There are hundreds of options in DataTables, and that doesn't even take into account that server-side processing could work with literally any server-side platform. I'm not sure how it would be done over the current method of letting developers select what options they want to enable?

    Allan

  • tangerinetangerine Posts: 3,370Questions: 41Answers: 395

    I was going to suggest this thread:
    https://datatables.net/forums/discussion/comment/158426/#Comment_158426
    as the closest ready-made solution to what you want.
    However, if Allan doesn't mention it maybe I'm wrong.

  • allanallan Posts: 65,056Questions: 1Answers: 10,772 Site admin

    Yeah, settings defaults would be a valid way of doing this perhaps. I'd been thinking more along the lines of what a npm package might look like, but I don't really know. Hopefully @ahmed6 can clarify the thinking.

    Allan

Sign In or Register to comment.