wpf - Telerik sort and filter columns not working -


i have wpf model table "table1" composed "table1_column1", "table1_column2" , "table1_column3" , table "table2" composed "table2_column1", "table2_column2" , "table2_column3".

i have 0..1 relation "table1" "table2", means object "table1" can related 0 or 1 "table2" object.

now have create radgridview takes table1 objects itemssource. have following columns in radgridview:

"table1_column1", "table1_column2", "table1_column3", "table2_column1" , working fine, except 2 problems: if try sort grid "table2_column1" or use filter on "table2_column1", no entry shown in table, headers.

sorting , filtering on "table1_column1", "table1_column2" , "table1_column3" work fine. here radgridview code.

    <telerik:radgridview.columns>          <telerik:gridviewdatacolumn x:name="table1_column1" header="table1_column1" datamemberbinding="{binding path=table1_column1}" isreadonly="true"/>         <telerik:gridviewdatacolumn x:name="table1_column2" uniquename ="table1_column2" header="table1_column2" datamemberbinding="{binding path=table1_column2}" isreadonly="true" width="100" isautogenerated="false"/>         <telerik:gridviewdatacolumn x:name="table1_column3" header="table1_column3" datamemberbinding="{binding path=table1_column3}" isreadonly="true"/>         <telerik:gridviewdatacolumn x:name="table2.table2_column1" header="table2_column1" datamemberbinding="{binding path=table2_column1}" isreadonly="true"/>      </telerik:radgridview.columns> </telerik:radgridview> 

any suggestion?

if data disappears in radgridview when sorting or filtering, it's problem comparison of objects. switch on .net exceptions , should become clear exception being thrown.

debug -> exceptions -> common language runtime exceptions = true


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -