how to set a cell's maxlength in XamDataGrid..??
Hello,
I am not sure what a length of cell exactly is, but I think you mean Cell Width or Cell Height.
You can set the CellMaxWidth, CellMaxHeight propertiesfrom the FieldSettings of the XamDataGrid or create a style for the CellValuePresenter and set MaxWidth,MaxHeight properties. If it is not that, please give me more information.
Hope this helps,
Alex.
Hi,
Sorry for the delay. Thanks very much for your response.
Actually i was asking about setting the MaxLength of the the text that we enter in a cell of the XamDataGrid.
Not at all related to the Max Height or width proprties.
Sandeep
Sandeep,
Thank you clearing that out. In this case you should set ValueConstraints property of the XamTextEditor ( as you need it for text).
More about this, please visit this topic in our help.
Regards,
I was very much looking forward to this information but alast a bad link..
Being a n00b to the xamlGrid, I found this helped me http://forums.infragistics.com/wpf/articles/validation-in-the-xamdatagrid.aspx
You can find there the new link location.