dotMorten / MauiEx

A set of .NET MAUI controls
Apache License 2.0
225 stars 55 forks source link

List<model> #98

Closed SERDARPINAR closed 1 year ago

SERDARPINAR commented 1 year ago

hello my dataset from api and List.. how can i display custom colum name on search list.

List model = [{ Id=1,name='test'},{ Id=2,name='test2'}......]

i want display only name but when selected i want Id.. how can i do ? thank you

dotMorten commented 1 year ago

Try setting the DisplayMemberPath value to the name of the propery in your model.