Fix some warning in RFGridView.