use options.dataype to build iframe datatype