Hi,
I am using "Xamdatagrid" in that i have two columns which are getting data from database.
Example :
Firstname Ename
--- Def
Lmn Lmn
Xyz ------
----- Ghi
if i have Ename i won't display the "FristName" it should blank.
in the above grid i ihave Ename "Lmn" but in the "FirstName" also it is displaying. i need to show firstname as blank.how to do this in xaml(by datatrigger or converters)
thanks in advacnce.
Kindly provide some example/sample of code for guidance.
Regards,
Sohail Kazmi.
Hello,
You could handle the InitializeRecord event and see if you have a value in the first field and the second field and decide where you should or should not display a value.
You can cast the e.Record to DataRecord, which exposes a DataItem property - the underlying object so you can modify the data.
Hope this helps.