3 quick CDE table addin snippets

3 quick CDE table addin snippets



Gon�alo shared some very interesting tips for extending the CDE Table Component. Why not share with a larger group? :)


Hey,

I have some code Ive been pilling up for several things and, with a lack of time to properly structure it for sharing, Id thought Id put it on github gists. 
To start with, I have 3 addIns that might be of interest to someone... or not. In any case, here they are:

* cccChart: calls a generic cccChart, with the type, options and data transformation function being controllable. In theory, you could even serialise a standard CDA-like JSON in each of the cells, and simply pass a de-serialisation function to the addIn.
https://gist.github.com/gundisalwa/3888f0887eb65dfde8e6

* dynamicColType: an addIn that allows you to control, cell by cell, what addIn is called. Imagine you want to control the addIn that renders a cell based on analysis of the data, for example. Caveat: needs the component name to be passed as an option.
https://gist.github.com/gundisalwa/cdb067df2801fe5b63ca

* liquidDataBar: a version of dataBar which will adapt to its container inherently, fixing the issues with column resize while re-rendering. Caveat: no idea what happens in IE8, and not really interested in knowing.
https://gist.github.com/gundisalwa/fd47fa5620c75c0049d7

In the future, Ill add any more snippets like these to my github gists, as well.

Hope they are useful.

Enjoy!

(Rofl, english?...)

See, Gon�alo? This is why I ask for things in English :)

Comments

Popular posts from this blog

20346D Module 7 Lab

20346D Module 6 Lab

2015 2016 LASU POST UTME REGISTRATION FORM ON SALE