This is a migrated thread and some comments may be shown as answers.

MVC, Ajax binding, Row Filter and default group

4 Answers 116 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simone
Top achievements
Rank 1
Simone asked on 25 Jul 2014, 08:27 AM
Hi, we run in a "strange" behavior of the grid when we activate the row filter on a MVC grid with ajax binding and a default group. The grouped column is invisible (visible = false) and the final effect is that under a "fake" first column I see the textbox of the row filter. I attach a screenshot.
This is our code (fragment):
@(Html.Kendo().Grid(Model).Name("Grid").Mobile()
.Columns(columns =>
 {
  columns.Bound(model => model.Segment).Title("Segmento").Groupable(true).Visible(true).Locked(true).Lockable(false).Width(220);
 columns.Bound(model => model.MainHolder).Title("Richiedente").Width(220).Locked(true).Lockable(false);
 columns.Bound(model => model.VATNumber).Title("P.IVA").Groupable(true).Width(220).Locked(true).Lockable(false);
 columns.Bound(model => model.ApplicationResult).Title("Valutazione").Groupable(true).ClientTemplate("<span class='#= ApplicationResult #'>#= ApplicationResult #</span>").Width(220);
 columns.Bound(model => model.ActualState).Title("Stato").Groupable(true).Width(220).Lockable(false);
 columns.Bound(model => model.ApplicationId).Title("Id Pratica").Width(220).Lockable(false);
 columns.Bound(model => model.FinanceType).Title("Tipo di Finanziamento").Groupable(true).Width(220).Lockable(false);
 columns.Bound(model => model.LegalForm).Title("Forma Giuridica").Groupable(true).Width(220).Lockable(false);
 columns.Bound(model => model.CCIAAREA).Title("CCIAAREA").Groupable(true).Width(220).Lockable(false);
 columns.Bound(model => model.ApplicationDate).Title("Data Apertura Pratica").Width(220).Groupable(true).ClientTemplate("#= kendo.toString(ApplicationDate, \"d MMM yyyy\") #").Lockable(false);
 columns.Bound(model => model.CreatedBy).Title("Inserita da").Width(220).Lockable(false);
 columns.Bound(model => model.UpdatedBy).Title("Aggiornata da").Width(220).Lockable(false);
})
.ToolBar(toolbar =>{toolbar.Template(@<div class="ToolbarRow row ">Stato dell'Attività</div>);})
.Groupable()
Sortable(config => config.SortMode(GridSortMode.MultipleColumn))
Selectable()
Reorderable(reordering => reordering.Columns(true))
Scrollable()
.ColumnMenu(columnMenu => columnMenu.Enabled(true).Filterable(false))
.DataSource(ds => ds
 .Ajax()
 .Read(read => read.Action("ApplicationGrid_Read", "Home"))
 .Group(config => config.Add(itm=>itm.Segment))
 .ServerOperation(false)
 .Model(config => config.Id(m => m.Id)))
.Filterable(filtering => filtering.Enabled(true).Mode(GridFilterMode.Row))
.Events(evt => evt.DataBound("ChangeCellColor"))
)

Any ideas?

Thank you,

Simone

4 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 25 Jul 2014, 09:04 AM
Hi Simone,

The issue should be resolved in the latest internal build. Please download it from your account and test again your project. If the problem still persists, please provide us with a sample where the issue can be reproduced, and we will be happy to take a look.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Simone
Top achievements
Rank 1
answered on 25 Jul 2014, 10:40 AM
Thank you Kiril.
I try latest internal build (2014.2.724) but it did not fix the problem.
0
Kiril Nikolov
Telerik team
answered on 25 Jul 2014, 11:40 AM
Hello Simone,

I will log this issue in our internal bug tracking for further investigation. As soon as more information is available, I will make sure to get back to you.

As a small gesture of gratitude for bringing this to our attention, I have updated your Telerik Points balance.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Kiril Nikolov
Telerik team
answered on 07 Aug 2014, 07:56 AM
Hello Simone,

I am happy to inform you that the issue is resolved. The patch should be available with the next internal build, so please feel free to upgrade and test your project. If the problem still persists, please do not hesitate to contact us.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Simone
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Simone
Top achievements
Rank 1
Share this question
or