c# - WPF DataGrid - row for new entry not visible -
The problem is that the empty row is not visible in the datagram, so the user can not add data here the code is:
System. Collection.object.log.obbsClubClocking & lt; Corvobularyentry & gt; Data List = New System.Collection.AbjectModel.ebusWebWallClip & lt; Corvobulary Entry & gt; (); Public Glossary Toolwind () {Initial Group (); DataList.Add (new corebulary entry {foreign = "j", original = "ano"}); Select List View View = New List Compilation View (Data List); Word datagrid ITSource = Data List; WordDataGrid.Can UserArrose = True; MessageBox.Show (view.CanAddNew.ToString ()); }
I do not understand why see why. CANAD is equal to the wrong. It looks like a beautiful standstate scenario, so maybe I'm missing some time. Can anyone tell me what is wrong with the code? CoreVocabularyEntry is just the following:
Public Structure Core Vocabulary Entry: Evoculatory Entry {#region IVCabularyEntry Member Receives Public String External { Set; } Public string origin {get; Set; } #deregion}
Thx, JK
delete WordDataGrid.Can UserArrows = true;
Above the statement where you set the data grid's MadSource.
Edit:
Just saw that you did not see applied. You have to do this to use DataGrid's editing features.
Comments
Post a Comment