草庐IT

withOption

全部标签

javascript - 具有过滤列宽的 Angular 数据表

我尝试使用过滤器为Angular数据表中的列设置宽度。但是列的宽度没有改变。我试着跟随varcolumnsSpecification=[{type:'text',bRegex:true,bSmart:true},{type:'text',bRegex:true,sWidth:"90px"}];$scope.dtOptions=DTOptionsBuilder.newOptions().withBootstrap().withOption('scrollX','700%').withOption('scrollY',height+'px').withOption('oLanguage',