Hi guys.
Currently I am doing a form for user to select material with wingrid. So I will have 2 bands, first band to show the needed material and a button to trigger a from to select available material.
Then the selected material will be in second band.
On the first band, I will show the remaining quantity. If the remaining is 0, I will change the background color to Green, else Red.
For example, Material A needs 50kg, I will select from available batch, Batch A.
At this point the InitializeRow works properly.
But when I selected 2 batches for Material A, say Batch A and Batch B, the InitializeRow event will not be fired.
Please assist.
Hi,
I'm having some trouble understanding the exact circumstances under which the event is not firing.
It sounds like you are saying that if you add two child rows to a parent row, InitializeRow does not fire. But for which row are you expecting the event to fire?
InitializeRow fires any time a row is created and also when a value in that row is modified. If, when you add your child rows, you are also modifying the remaining material count, which is a cell in the parent row, then the InitializeRow even should fire. If it is not firing, then that may be a bug. But it's hard to tell with so little information.
What version of hte grid are you using?
Can you post a small sample project which demonstrates changing a value in a cell and the InitializeRow event failing to fire?