Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
435
Grouping by column with null values
posted

I have some issues with the WebHierarchicalDataGrid:

1) I'm having a NullReferenceException when i try to group by a column that has null values. How can i resolve this? Is there a way to set default values for the null elements?

2) I'm trying to hide a column when the grid is grouped by it but when i sort the column clicking the button at the group area the column is shown again. Can i control the javascript event of that kind of sorting? (I already control the event of sorting by clicking at the column header)

Thanks.

 

Parents
  • 33839
    Verified Answer
    posted

    Hi fjVazquez,

    I have managed to reproduce your first issue I believe.  It happens on a postback after the grouping by the column with the null values happens.  I have submitted it internally as bug 81188.  If you contact Developer Support, you can have your case attached to this bug and be notified when a SR with the fix has been released.  

    As for your second issue.  How are you trying to hide the columns?  You will probably need to hide it on the band, but then copy the Hidden value from the band column to the grid level when the row island is created.

    regards,

    David Young

Reply Children