Questions tagged [collectionview]

The Marionette CollectionView displays a Backbone collection object by rendering each objects through the specified childView View object.

Docs

1294 questions
0
votes
1 answer

wpf datagrid resort bug

I am stuck here for 3 weeks now, I am dying :-) When I refresh my collection, the SortDescription does not work. This is a know bug in wpf I read on the internet. But I can't seem to get it working... My experience isn't that far it seems :-) Can…
keno
  • 93
  • 3
  • 11
0
votes
0 answers

Datagrid refresh groups/sorting collectionview

I want to refresh my datagrid, but after refreshing, my sorting within the groups are not correct anymore...
keno
  • 93
  • 3
  • 11
0
votes
2 answers

Include Total Count don't work in RIA

I try to get DomainCollectionView, but Total Count doesn't include in query: public DomainCollectionView collView { get { return (DomainCollectionView)this.GetValue(collViewProperty); } set { …
0
votes
1 answer

WPF: grouping "live" data

Model: Let's assume that I have the Book model. public class Book { public string Author { get; set; } public string Title { get; set; } public string Genre { get; set; } public DateTime Published { get; set; } } Also, I have such a…
0
votes
3 answers

How to create ObservableCollection sorted by item's property and emitting CollectionChanged when item's property changes

I have a list of controls, where each control has ZIndex property: class WizardControl : INotifyPropertyChanged { public int ZIndex { get; set; /* set emits PropertyChanged event */} } class WizardStep { ObservableCollection
Miroslav Bajtoš
  • 10,667
  • 1
  • 41
  • 99
0
votes
1 answer

How to reference childview in handlebar?

I have a collection view as follows: Ember.Widget.ParentView = Ember.CollectionView.extend({ content: ['childView1', 'childView2'], fnameBinding: ChildView1.fname, lnameBinding: ChildView1.lname, ChildView1: Ember.View.extend({ …
0
votes
1 answer

A method set as ICollectionView.Filter sees other properties in the class as null even though they are not null

I'm trying to implement a basic filtered list box in WPF. The user types something and the list is narrowed to the values beginning with the typed phrase. I have: a View with: a TextBox whose Text property is bound to InstitutionFilteringString…
kamilk
  • 3,829
  • 1
  • 27
  • 40
0
votes
1 answer

emptyView for CollectionView is never hidden

I have a CollectionView that has : a tagName set to tbody ( so its children are 'tr' ) an emptyView. The problem is: the emptyView is never hidden. See this fiddle : http://jsfiddle.net/EHQLF/ So my questions are : Why is the emptyView still…
louiscoquio
  • 10,638
  • 3
  • 33
  • 51
-1
votes
1 answer

ObservableCollection, CollectionView, and sorting

I am exceptionally confused about how ObservableCollection and CollectionViews should be used in an MVVM application. I am NOT interested in technical explanations where you tell me how 'you're actually using CollectionView when you bind to…
FZdev
  • 418
  • 1
  • 5
  • 10
-1
votes
0 answers

achieving a chat-like interface xamarin.forms

i wrote this xaml code in order to make a chat like interface in my app:
rana hd
  • 355
  • 3
  • 18
-1
votes
1 answer

in collectionView cell i added cell.alpha but cell.alpha not working

Code: func collectionView(\_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -\> UICollectionViewCell { let cell = myCollectionView.dequeueReusableCell(withReuseIdentifier: "CollectionViewCell", for: indexPath) as!…
-1
votes
1 answer

Collection View does not work as expected

I have a collection view, when it loads for the first time everything works fine I have a photo archive, if the cell index exceeds the number of photos in the archive, then the photo is not added to the cell 1st photo is the moment of the first…
Denim
  • 9
  • 2
-1
votes
1 answer

Add Button in DataTemplate in CollectionView .netMaui

I want to add a Button in my CollectionView for each Item. I work with MVVM and want also pass the CommandParameter of the Item. My idea solution is this one:
Tobination
  • 178
  • 11
-1
votes
2 answers

Fetch older messages when the user scroll inside a chat

I have a chat but i don't want to show all the messages at once because it's laggy. When i click on the chat i want to show the last 20 messages and everytime i scroll i want to fetch 20 older messages, that's why i'm using a query limitation. When…
-1
votes
1 answer

Xamarin - how to make a CollectionView with grid responsive

I was wondering how it could be possible to create a xamarin application using collectionview and make it responsive.