Add preview functionality to the DataView editor