css - KendoUI Grid input styling in column -
i have kendoui grid being generated this:
<div id="clientsdb"> @(html.kendo().grid<example.openaccess.obclientsetup>() .name("grid") .columns(columns => { columns.bound(obcs => obcs.profilename).width(140); columns.bound(obcs => obcs.default).width(190); columns.bound(obcs => obcs.eefinalize).width(100); columns.bound(obcs => obcs.completed).width(110); columns.command(command => { command.edit(); command.destroy(); }); }) .groupable() .pageable() .sortable() .editable(editable => editable.mode(grideditmode.inline)) .datasource(datasource => datasource .ajax() .read(read => read.action("ob2_clientprofiles", "ob")) .update(update => update.action("editinginline_update", "ob")) .destroy(update => update.action("editinginline_destroy", "ob")) .model(model => model.id(obcs => obcs.setupid)) ) ) </div>
with cannot figure out how style columns.bound(obcs => obcs.default).width(190);
select inputs in column. select input dropdown haven't figured out how style form-control
out of bootstrap. or own style temmplate within grid code.
columns.bound(obcs => obcs.default) .width(190) .htmlattributes(new {@class = "form-control "});
can add attributes using htmlattributes function
Comments
Post a Comment