Hi,

I'm pretty new to om and clojurescript, so far so good, but there's one place 
where I'm having trouble figuring out the best approach.

In my app state I have a data property, which is basically some data parsed 
from a csv file.  Then I have several controls which rely on that dataset, some 
are charts, some are tables, etc.  My issues is that in some cases I need to 
transform the data for a specific component, lets say I have a table and the 
table wants to sort the data.  I don't want to sort the data for all components 
only the table and table child components (rows, cells, etc).  Another example 
is that some of the controls are charts which need to have data transformed and 
grouped in certain ways specific to the chart.  

So my general problem is that in some cases I have a subtree which basically 
needs a cursor which has been transformed in some way.  I could pass the 
transformed data down as opts, but I wanted to know if there is some better way 
using cursors, since everything else in my app is using cursors for data. 

Thanks for any ideas or suggestions.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" 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/clojurescript.

Reply via email to