Skip to content

Implementing DataItem and DataList #4020

Answered by andydotxyz
blaize asked this question in Q&A
Discussion options

You must be logged in to vote

Using complex types like this you may be better off not using data binding all the way, it can get a little difficult on list and tree with custom types.

However if you want to explore this further you probably need binding.BindUntypedList(...) that should at least get you started - though it may require a fair amount of casts initially before you find a prettier way to wrap it in a custom type for your specific struct.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@blaize
Comment options

@andydotxyz
Comment options

@blaize
Comment options

@BillBuilt
Comment options

@andydotxyz
Comment options

Answer selected by blaize
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants