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
2715
Merge cells
posted

Hi!

I have a three coulmns grid, of wich the last one is a combo. On the last row, the "add new" row, i want to span the third column over the first two, so i'll have just a combo on that row.

Any ideea on how to do that ?

Thanks!

  • 5118
    posted

    Hi,

    Looks like you will have to use a Creation Filter to accomplish this task. 

    http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=7325.  Has a nice walkthrough of using a Creation Filter to span multiple columns and in your case the testing scenario for the if of the UIElement would be if the row / cell belongs to the AddRow, instead of 0 and backcolor == powerblue as in the example.  I would probably set the Rect of the other CellUIElements to 0s and for the one you want to span all the area set its Rect to the RectInsideBorders of the AddRow.