call  reset() inside setData() for clear panel