We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I have the following code to add columns , after trying various combination for hours i am still failing to make text editable.
Source = new FlatTreeDataGridSource<EntityViewModel>(Entries); Source.Columns.Add(new TextColumn<EntityViewModel, string>(nameof(EntityViewModel.Key), x => x.Key, null, new() { IsTextSearchEnabled = true, BeginEditGestures =BeginEditGestures.Tap, CanUserSortColumn = true })); foreach(var c in Languages) { var header = c == string.Empty ? "Neutral" : c; Source.Columns.Add(new TextColumn<EntityViewModel, string>(header, x => x.CultureValues[c],null, new() { IsTextSearchEnabled = true, BeginEditGestures = BeginEditGestures.Tap, CanUserSortColumn = true, TextTrimming= TextTrimming.CharacterEllipsis, MaxWidth=new GridLength(300,GridUnitType.Pixel) })); }
here is my class whose items are populated.
public class EntityViewModel { public string? Key { get; set; } public Dictionary<string, string?> CultureValues { get; set; } = new(); public EntityViewModel(Entity entity) { foreach(var culture in entity.Cultures) { CultureValues.Add(culture,entity.GetValue(culture)); } } }
I supose Editing was implemented with #162 .
Thanks.
The text was updated successfully, but these errors were encountered:
Tried to make Text Column Cells editable in the same way, had the same issue. I got TreeDataGrid NuGet Package 11.0.2
Sorry, something went wrong.
I can't make to work even F2 gesture
No branches or pull requests
Hi,
I have the following code to add columns , after trying various combination for hours i am still failing to make text editable.
here is my class whose items are populated.
I supose Editing was implemented with #162 .
Thanks.
The text was updated successfully, but these errors were encountered: