--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
This is really nice. Its simple enough, but with lots of nice features. Its functional, but easy to understand.
The CCS is key to making appearance universal for so many "skins" that one could apply in any app.
I for one would use this tool to list many database tables within my app's screen, as its so straight forward.
Bravo !
--
So I have played around with it a little.....There does not seem to be a way to provide the equivalent of {{attr1 + ' - ' + attr2}} or {{getCalculatedArea()}} that you could do using standard TD tags with angular ty-ins. For objects that have sub-objects that you need to display (I have two collections that hang off the primary object) you can navigate to the right field using a formatFunction and passing the collection, but the standard mapping seems to only support a single attribute. If you had an object that was{pricePaid: 25.5,currency: 'USD'}you could only map the row to either pricePaid OR currency (as I understand it). This you could not leverage these two values in a formatFunction to produce the correct formatted string. In this case the format parameter doesn't make sense since it is data-driven. Another example might be given the width and height return the calculated width.In theory I suppose when you get your server response you could "modify" the data to add these fields for display, but this does also make posting updates more difficult as it means you need to prune out all of these fields or risk them being serialized. Overall that has a bad smell. In the currency example above, in my editors I allow the user to choose a price paid and currency separately, but it would be anticipated to when displayed in a tabular format it would be the price paid as a currency.Comments?-Jason
On Monday, May 27, 2013 3:30:52 PM UTC-5, lorenzofox3 wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/Em8pi03Skxg/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/Em8pi03Skxg/unsubscribe.--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
In the same way than for the sort operation you can use you own algorithm, you just have to specify the function you want to use in the global config under the property filterAlgorithm
function customFilter(arrayRef, expression){
//do some stuff
return filteredArray;
} scope.globalConfig={
isGlobalSearchActivated:true,
filterAlgorithm: customFilter
};
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/Em8pi03Skxg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.