HI Alec,

On Thursday, March 26, 2015 at 12:12:46 PM UTC-6, Alec Perkey wrote:
>
> Hi
>
> Has anyone made a plugin for datatables already?
>
> I think to make one using
>
> https://datatables.net/
>
> Specifically, a user (Stephen Kimmel) was asking in the other TiddlyWiki 
> google group for fixed headers solution, since long html tables in a 
> tiddler gets lost when the html table height exceeds the viewport.
>
> I realized I've worked with datatables before and they have a large 
> community who has already addressed this particular feature request
> https://datatables.net/extensions/fixedheader/
>
>
>    1. Thoughts about this plugin idea?
>
> it looks doable - the main challenge is to the dynamic nature of tw5 - the 
call

$('#myTable').DataTable();

would need to be called for each table. Maybe you could have a widget 
<$DataTable> ... table here.. </$DataTable>that would surround a table and 
call the function after the tables dom elements have been created. 

>
>    1. Is there a plugin package browser planned for the new plugin 
>    manager?
>    
> there is the 'communtiy' tiddler on tiddlywiki.com

>
>    1. 
>    2. If not, what is the best reference to figure out what already 
>    exists? Github?
>    
>
> You can search github with tw5 
To make a new plugin I copy one of my existing ones like 
https://github.com/buggyj/TW5-visualeditor, and change the strings pointing 
to the plugin's dir (eg bj/visualeditor) and change them to bj/mynewplugin

cheers

BJ

> Thanks! :) 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to