- commented the OnHtmlAttached in UIElement because it causes the grid to render double rows