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
615
XamComboEditor in specific cells
posted

Hello!

In our grid there are some cells that need to be combos when editing. Only for a view cells, not for the whole field (column). I found out that setting EditorType and especially the EditorStyle (that includes databinding for the combo) in the InitializeRecord event handler slows down performance of the grid. Because of that I tried setting the EditorStyle in the CellActivating handler. My hope was that I could speed up the grid when setting the databinding for the combo only if needed. But the dropdown list is not filled with items.

Is there a way to set drop down list items only if they are needed? Or any other way to speed up the grid, when having combos in the grid?

thanks,
Florian

  • 9694
    posted

    The following post addresses performance and using the XamComboEditor in the XamDataGrid.The post shows an example how to use the XamComboEditor in the data grid.

    http://news.infragistics.com/forums/p/20868/75313.aspx

    Does this help with your issue?

  • 615
    posted

    Hello,

    I am still think about the problem how to set the XamComboEditor for specific cells. Maybe a solution might be to use a EditorStyleSelctor object that choses the right editor style from a property in the datasource of the row. Is this possible? And if yes, how?

    The important thing is the performance. I think no matter how to set the style for that combo, the performance might suffer anyway. But I don't know why and how to avoid those perfromance issues.

     

    thanks,

    Florian