5 Replies Latest reply on Jul 15, 2009 8:50 AM by mr. modus

    datagrid row order changes on comboBox change

    mr. modus Level 1

      I have a datagrid with a few columns. Namely price and comboBox for quantity. My default sorting on the grid is by price, ascending. There may be multiple rows with the same price value and the comboBox will have available quanitities of that product. The default comboBox value is the highest quantity. So if there are 2,4,6,8 as comboBox options 8 will be selected by default. For some reason when I change quantity sometimes the row order of the item I just set the quantity of will change rows. So if I have four rows with $55.00 as the price if I change row 2 to a quantity of 4 instead of 6 it will arbitrarily change so maybe row 4 or row 3.It also sets the comboBox back to it's default choice. Sometimes it does it, sometimes it doesn't. Any ideas? This is driving me mad.