Can I change the style of an element on 1 row of a Data Grid without onPageLoad?
I'm prototyping a simple app that counts down inventory items as you use them. So, every time you use an item you decrement it by pushing a "minus" button next to the item. Every item has its own row in a data grid. When the item reaches a critical level (set by the user and stored in the data master) the background of the "In Stock" amount changes from green to red.
I can get this to work if I set an OnPageLoad event for the row with a condition to compare the "in stock" amount with the "critical" amount but I don't want to reload the screen every time you decrement the item. Every other attempt to do this without reloading the screen changes the background color of all the rows instead of just the one I'm decrementing.