This question is locked. New answers and comments are not allowed.
Hi All!!
How can I set the same width columns when I'm editing in InLine Mode??
The gridview picture show the width columns correct, but when I'm editing (gridedit picture), the width of the columns are not the same ....
The source code of the view is :
Any idea what i'm missing ?????..
Thanks
Eduardo
How can I set the same width columns when I'm editing in InLine Mode??
The gridview picture show the width columns correct, but when I'm editing (gridedit picture), the width of the columns are not the same ....
The source code of the view is :
<div id="gridh3"> <% Html.Telerik().Grid(Model) .Name("GridH3") .Localizable("es-ES") .ToolBar(comandos => comandos.Insert().ButtonType(GridButtonType.Image).HtmlAttributes(new{style="width: 20px; min-width: 20px;"})) .DataKeys(keys => keys.Add(h3 => h3.TextosH3Id)) .DataBinding(databinding => databinding.Ajax() .Select("Seleccionar", "H3Texto") .Insert("Insertar", "H3Texto") .Update("Editar", "H3Texto") .Delete("Borrar", "H3Texto")) .Columns(columnas => { columnas.Bound(c => c.TextosH3Id).Width(10).Title("Id").Sortable(false).HtmlAttributes(new { style = "width: 10px; min-width: 10px;" }); columnas.Bound(c => c.ContenidoH3).Width(115).Title("Contenido").Sortable(false).HtmlAttributes(new { style = "width: 115px; min-width: 115px;" }); columnas.Bound(c => c.NombrePagina).Width(75).Title("Página").Sortable(true).HtmlAttributes(new { style = "width: 75px; min-width: 75px;" }); columnas.Bound(c => c.Posicion).Width(50).Title("Posición").Sortable(false).HtmlAttributes(new { style = "width: 50px; min-width: 50px;" }); columnas.Command(comando => { comando.Edit().ButtonType(GridButtonType.Image).HtmlAttributes(new { style = "width: 20px; min-width: 20px;" }); comando.Delete().ButtonType(GridButtonType.Image).HtmlAttributes(new { style = "width: 20px; min-width: 20px;" }); }).Width(80).Title(""); }) .Editable(editar => editar.Mode(GridEditMode.InLine)) .Pageable(pagina => pagina.PageSize(10)) .Sortable(orden => orden.SortMode(GridSortMode.SingleColumn)) .Render(); %> </div>Any idea what i'm missing ?????..
Thanks
Eduardo