Hi
I just want to Add a new row without validating an uneditable column in grid For eg: some "S.No" by pressing en enter
Please suggest some link or solution to this as soon as possible
Hello Rathna,
Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your reply.
I have modified the xaml to my requirement.. Please check it... I have used a date picker, xamcomboeditor and a button with a uneditable (refno) column.
Also, I have set allowaddnew to true... but it does not adds a new row... If i make it editable (which is not my requirement) it creates a new row but the previous control values are reset
Hello,
If yo ujust want to enable searching in the XamComboEditor you can use the follwoing Style for it:
<Style TargetType="{x:Type igEditors:XamComboEditor}"> <Setter Property="ComboBoxStyle"> <Setter.Value> <Style TargetType="{x:Type ComboBox}"> <Setter Property="IsTextSearchEnabled" Value="True"/> </Style> </Setter.Value> </Setter> </Style>
Hope this helps you.
Hi stefan,
Thanks for the reply... I tried with this code... but the xamcomboeditor doesnt behaves like a textbox i.e., i need to write something in editor if that option is not there then i must add that as a new reference when some key is pressed(enter or tab)..
this functionality works outside the xamdatagrid.. but not inside the grid..
Hello Rethna,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thanks for your support. I managed my issue with your help...
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.