Hi,
I need to have a cell updated when a new dropdown value has been selected. Is there some setting for it?
I thought to handle the CellListSelect event and perform ExitEditMode action. That does what I want, but after the CellListSelect event handler the NullReferenceException is thrown inside the infragistics dll, that's probably a bug. Isn't that? However, I didn't try to reproduce that in the small sample application.
Thanks,
Vitaly
Hi Vitaly,
I don't understand your question. Why would you have to do anything to get a cell to update when the user picks a value from a DropDown? This happens automatically.
Do you mean you are creating your own dropdown? If so, then I need more information about what you are doing and what kind of dropdown you are using.
Oh, okay, I understand now.
Performing ExitEditMode should not be raising an exception. That sounds like a bug to me. Do you have the latest Hot Fix?
Other cells depend on the value of the cell that has the dropdown. So, if a user selects a new value from the dropdown and nothing happens to other depending cells that won't be intuitive to the user and he'll think something like "Hm... I've changed the price of the product but the total price remains the same!"
However, now I think I will recount depending cell on CellListChange event and that seems right.
Thanks for your help.
P.S. I don't have the latest Hot Fix, but I'll try it. If the issue with the exception remains I'll contact tech support.
Thanks for the tip. Just started working on some Infragistics grid development today (using 10.2). It's been a while and have found answers in the 'samples' downloaded. However the forums are proving very valuable. I was struggling to understand why the 'value' property of the cell was DBNULL. I found this article and spotted the note about using 'TEXT' property. Now all is well!
I think the right event to use for something like this would be CellChange. Ths event fires as the user modifies the cell. The only tricky part of this is that the Value of the cell won't be updated when this event fires, so you have to use the Text.