These are chat archives for AvaloniaUI/Avalonia

28th
Jun 2015
Darnell Williams
@Seeker1437
Jun 28 2015 02:10
Yes it's really neat too
Yeah it's really neat!
José Manuel Nieto
@SuperJMN
Jun 28 2015 10:20
@johanLarsson I'm taking a look! is it WPF only?
Johan Larsson
@JohanLarsson
Jun 28 2015 17:29
@Super yeah I think so, perhaps not super useful but the need comes up every now and then.
Added SelectedCellItem now.
José Manuel Nieto
@SuperJMN
Jun 28 2015 17:39
Interesting!!
Does it super dynamic columns for dynamic items?
Johan Larsson
@JohanLarsson
Jun 28 2015 17:40
how do you mean?
José Manuel Nieto
@SuperJMN
Jun 28 2015 17:40
(like ExpandoObjects)
Johan Larsson
@JohanLarsson
Jun 28 2015 17:40
have not tried
it uses binding so can probably be pretty dynamic
José Manuel Nieto
@SuperJMN
Jun 28 2015 17:40
😊 it's a feature I needed in the past
Johan Larsson
@JohanLarsson
Jun 28 2015 17:41
try it and write an angry issue if it does not work :)
José Manuel Nieto
@SuperJMN
Jun 28 2015 17:41
Does it support* sorry, I'm on mobile!
Hahaha
OK
Johan Larsson
@JohanLarsson
Jun 28 2015 17:41
support star sizing?
José Manuel Nieto
@SuperJMN
Jun 28 2015 17:50
yes
Johan Larsson
@JohanLarsson
Jun 28 2015 18:00
yes, also supports sizetoheaders & cells and the rest
José Manuel Nieto
@SuperJMN
Jun 28 2015 18:10
I mean, you have 2 or more types which properties are not known at compile-time
You should take the union of the properties of all the instances
generate the columns and represent them :)
you cannot do that with the built-in DataGrid
it would be a great feature!
Johan Larsson
@JohanLarsson
Jun 28 2015 18:12
add a request, I have never had the need for it
or a PR :)
José Manuel Nieto
@SuperJMN
Jun 28 2015 18:17
I have worked into that in the past! and I have some example
Maybe it would be an extra feature :) it's not basic, that's for sure
Steven Kirk
@grokys
Jun 28 2015 18:19
Wait, you've built your own datagrid for wpf?
Johan Larsson
@JohanLarsson
Jun 28 2015 18:19
who?
José Manuel Nieto
@SuperJMN
Jun 28 2015 18:20
I think it's you, @JohanLarsson
:D
Steven Kirk
@grokys
Jun 28 2015 18:21
Yes I'm on mobile so I've not seen the project
Perspex needs a datagrid...
Johan Larsson
@JohanLarsson
Jun 28 2015 18:21
No, just attached properties for the built-in enabling binding to 2D sources.
Getting a control like DataGrid bug free and with a nice API is some work I imagne.
Steven Kirk
@grokys
Jun 28 2015 18:23
Ah ok. Yeah menu is hard enough!
Johan Larsson
@JohanLarsson
Jun 28 2015 18:23
I can stop spamming stuff here if it is annoying, just dumping links if I push something that may be useful to others.
José Manuel Nieto
@SuperJMN
Jun 28 2015 18:28
Uhh, DataGrid in Perspex
I dream of it
Steven Kirk
@grokys
Jun 28 2015 18:29
No you're not spamming! Carry on :)
I think that when perspex has a datagrid it will be just about ready! It may take a while ;)
Johan Larsson
@JohanLarsson
Jun 28 2015 18:31
tbh I have not even used the wpf datagrid much
Steven Kirk
@grokys
Jun 28 2015 18:33
I'd like one that also integrates a treeview...
Johan Larsson
@JohanLarsson
Jun 28 2015 18:33
yeah, the use for treelistview comes up every now and then
have written insane hax for it in the past :)