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.
Any ideas?
Attempting to do a similar thing. Any solution?
Attempting to do a similar thing. Any solution?
Instead of using "OnPageLoad" you should use "On Data Change" on the Data Grid
This event trigger prompts events when a value changes in a Data List or Data Grid
You may look this tutorial https://www.justinmind.com/support/ondatachange-speed-up-data-driven-prototyping/ for more info
Best,
Instead of using "OnPageLoad" you should use "On Data Change" on the Data Grid
This event trigger prompts events when a value changes in a Data List or Data Grid
You may look this tutorial https://www.justinmind.com/support/ondatachange-speed-up-data-driven-prototyping/ for more info
Best,
Replies have been locked on this page!