Our blazing fast Grid component built with pure JavaScript
Hi ,
i am having 2 auto computed columns at first in paint event i am doing calculation and changing the cell value. when i done this i need to clear show dirty fields at initial .Please help me how to clear that .Store.commit is also not working .
- dirty.jpg (3.39 KiB) Viewed 348 times
i need to clear this marked dirty fields to normal fields programatically whenever required ..Kindly help me out
Not working .please find another method please.Grid.store.comitt.we need to send back to server so persist also not work
Hi thejas.pateel,
Am I right you want to have these fields as dirty, since you need to save values back to server, but you don't want to have it marked as dirty on UI. But for all others fields you want to have "dirty" label working as it was?
Hi,
At initial stage these fields should not be dirty .after changing values its fine ,i need to send data back to server
Please provide VUE project step by step of grid commit .i need to see how its working in your side please .Because its not working from my side
No, but when i do that that fields is not posted to server right? is that fields comes in grid.store.records ?
Ah, so it's a computed field that you want to store in your DB? And it's out of sync upon load, so you update it after load but it doesn't clear the dirty flag? How can we reproduce this?
Step 1: Load data through API
step 2: loop the rows and then change corresponding cell value
Step 4: after modified cell showing dirty.
IF i call grid.store.committe after that ,its not working