Question 1: I am binding to a parent-child-grandchild table relationship. So have band for each in my Grid. I have TemplateAddRow for the child band (second band in the hierarchy). In InitializeRow handler how I tell the ActiveRow is the TemplateAddRow? I have the following code
UltraGridRow activeRow = ((UltraGrid)sender).ActiveRow;
if (activeRow.Equals(((UltraGrid)sender).Rows.TemplateAddRow) //this did not work
{
.....
}
Question 2: for the entire Grid in InitializeLayout I have said:
e.Layout.Override.CellClickAction = CellClickAction.RowSelect;
That's because I do not need to edit any of those rows. However, I want to make the TemplateAddRow editable. Right now, with CellClickAction.RowSelect setting I am unable to enter in that cell.
Hello,
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.
Thank you for contacting Infragistics Developer support.
I have attached a simple sample which demonstrates these suggestions.
Please let me know if you have any additional questions.