Can anyone help me out with the below issue,
I have a Ultrawingrid showing up records where each record is collapsable and have child records to it as shown below.
Here, I need to delete a column PatientNumber in the Child record.I have set the Hidden property to true for that column and also removed the column, even then the value is binding to the child row datatable.
Please, check below code, underlined the code for more info.Do suggest me how can I resolve this issue.
dsPatientSearch = new DataSet();
dtPatienDetails = EligibilityDataAccess.GetPatientDetails(patientNumber,patientName,patientSsn,patientDob,shortCut,iCode,claimNumber);
dtPatienDetails.TableName = "PatientDetails";
dtClaimDetails = CreateClaimDetailsTable();
dtClaimDetails.TableName = "ClaimDetails";
DataTable dtGetClaimDetails = null;
foreach (DataRow dr in dtPatienDetails.Rows)
{
foreach(DataRow drClaimDetails in EligibilityDataAccess.GetClaimDetails(Convert.ToInt32(dr[0])).Rows)
dtClaimDetails.Rows.Add(drClaimDetails.ItemArray);
}
dsPatientSearch.Tables.Add(dtPatienDetails.Copy());
dsPatientSearch.Tables.Add(dtClaimDetails.Copy());
// Here dsPatientSearch.Tables[0].Columns[0] is the primary to key to the Parent band and dsPatientSearch.Tables[1].Columns[5] is the foreign key to the child band.
dsPatientSearch.Relations.Add("patientClaimRelation",dsPatientSearch.Tables[0].Columns[0],
dsPatientSearch.Tables[1].Columns[5]);
ugMain.DataSource = dsPatientSearch;
Hello jim03,
This matter has been already discussed at the following forum thread:
http://community.infragistics.com/forums/t/54239.aspx
If you have any other questions please feel free to let us know.