Examples of mobile web and/or HTML5 apps with Datatables on mobile?
Examples of mobile web and/or HTML5 apps with Datatables on mobile?
Does anyone have examples of mobile web or "hybrid apps" (e.g. PhoneGap, etc.) using Datatables? Phone? Tablet?
Any reason it wouldn't work well in any of these configurations - mobile web/hybrid app on phone/tablet?
Thanks!
Jack
Any reason it wouldn't work well in any of these configurations - mobile web/hybrid app on phone/tablet?
Thanks!
Jack
This discussion has been closed.
Replies
Allan
Jack
Allan
Thanks,
Jack
I should perhaps expand a little on my previous comments - as part of the v1.9 development I'm doing a lot of work rearranging the internals of DataTables, breaking it into more modular parts. This means that in future it should become easier to build a DataTables library with only the features that you need. For example, if you don't need pagination, there is no point in having that code in there. DataTables comes in at about 71KB when minified, so not massive, but at the same time, could be smaller for mobile apps.
The "module-isation" of DataTables won't be completed until the next major version (which will probably be v1.10) but then it should be possible to build a light weight table that does what you need - ideal for a mobile environment.
That's the plan anyway... :-)
Regards,
Allan
Jack
1. Deep object copying - I just submitted a patch for this
2. :lt() / :gt() selector filters - since Zepto is using querySelectorAll, and this doesn't support this syntax
3. Something about the selector not dealing with arrays - I give up at this point since it wasn't even halfway through the DataTables constructor.
I'm not going to give up completely - I'll revisit it, but probably not for a little while since it will take a fair bit of effort to get it working.
Allan
Jack