c# - Adding a TextEdit to a column to a DevExpress GridView at runtime -


(I pretty copy, a TextEdit to a column on a DevExpress GridView in order to do what I've got more than I've been trying for some auto-generated designer code add)

  DevExpress.XtraEditors.Repository.RepositoryItemTextEdit commentTextEdit = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit () .; GvwEnquiryList.Column [ "Notes"]. ColumnEdit = commentTextEdit; Ktlenkuirylistkrepositoryitemskaed (Kmenttestedit);  

What am I missing? (Because it does not work, "comments" still just a normal column)

below code using I was able to add a TextEdit column in your text field. . I RepositoryItems.Add function did not need to use

  DevExpress.XtraEditors.Repository.RepositoryItemTextEdit commentTextEdit = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit (); commentTextEdit.Appearance.BackColor = System.Drawing.Color.FromArgb (((int) (((byte) (255)))), ((int) (((byte) (128)))) ((int) ((Byte) (128))))); CommentTextAdit.Aprance Option. UKK Collar = true; CommentTextEdit.Name = "commentTextEdit"; Thiskkmentskklumnedit = Kmenttestedit;  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -