# When use DgridWrapper, how to re render cells?

**URL:** <https://discourse.dojo.io/t/when-use-dgridwrapper-how-to-re-render-cells/304>\
**Category:** Dojo 2+ users\
**Created:** [October 28, 2018, 2:46pm UTC](https://discourse.dojo.io/t/when-use-dgridwrapper-how-to-re-render-cells/304 "2018-10-28T14:46:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiechj](https://avatars.discourse-cdn.com/v4/letter/x/5e9695/32.png) [@xiechj](https://discourse.dojo.io/u/xiechj)\
**Post date:** [October 28, 2018, 2:46pm UTC](https://discourse.dojo.io/t/when-use-dgridwrapper-how-to-re-render-cells/304/1 "2018-10-28T14:46:59Z")

</div>

when some data changed, I need to re render some cells.  
but only call invalidate(), the appear do not change. so I use dom operation to change them manually.  
is there some auto method to do this? I only need to change some cells and keep status of scroll and selection.

ps1:  
when I set DgridProperties#data to a new object, dgrid re render completely and lost the status of scroll and selection.  
when I change some data in the old array of DgridProperties#data and call invalidate(), dgrid do not re render.

ps2:  
If want to monitor row click event, need to change the DgridWrapper source?
