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
1475
Multi Selection in wingrid cell
posted

Hi All-

I have a scenario in my application to select more than one value in win grid cell. i followed this article

http://forums.infragistics.com/forums/p/10347/40409.aspx#40409

to create a text box with button control set to a win grid with check boxes. I setted the cells editor control to the text box. Everything is fine and the user can select more than one value in the grid.

The only problem with this appraoch is what ever user is selecting in the grid is applying to each and every row. In my application context the user can select different options for each row.

Any ideas???????????

-Thanxs for ur help.

Parents
No Data
Reply
  • 469350
    Offline posted

    If selecting items from the list is affecting every row in the grid, then something is wrong with your code. The DropDown described here will not automatically update the grid cell, and it certainly doesn't update EVERY grid cell. Something in your code must be doing this.

    Are you sure the value of every cell is being updated? My guess is that you are dropping down the list in a cell and it always shows the same thing that was checked the last time you dropped it down, but this doesn't really have any meaning for the cell. You have to handle the EditorButtonDropDown event on the TextBox and make sure you check the appropriate items based on the cell from which the list was dropped down. The Combo can't do this for you automatically. 

Children