[sw] use data definition api to dynamically display data table