Hey guys,
I really hope this makes sense, i want to give my users a quick way to view their organizations structure and additionally add items via a context menu in the tree view.
I have attached an image which shows what i want to achieve, i have manually built the attached structure but i need to achieve the same by binding to remote data and additionally implement lazy loading (If possible).
How do i bind the treeview to these 3 different lists?
I would also like to create a context menu for the treelist items.
The problem with the context menu is how do you know what type of node you are clicking on? (Company, Branch or Department)
Hello,
is there a way to achieve a google-like suggestion dropdown list in Grid?
I have a normal grid, with a "Create" function in its toolbar. The column accepts any strings, which are saved in the database.
I attached a screenshot of the grid.
Is it possible to have a dropdown list under the cell, where the cursor is active?
The cell got to accept any strings, in case a Company name is not saved earlier in the database.
What I'm trying to achieve is to suggest the user what strings were saved in the form in the past.
The grid is nothing fancy:
@Html.Label(WorkPermitLabels.NonContractedCompanyName, new { @class = "control-label" })@Html.Hidden("NonContractedCompany", "")@(Html.Kendo().Grid(Model.NonContractedCompanies) .Name("nonContractedCompanies") .Columns(col => { col.Bound(v => v.Name); col.Command(v => { v.Edit(); v.Destroy(); }); }) .Editable(e => e.Mode(GridEditMode.InLine)) .HtmlAttributes(new { @class = "control-label col-sm-12 col-md-6" }) .Sortable() .ToolBar(toolbar => toolbar.Create()) .DataSource(datasource => datasource .Custom().Schema(schema => schema .Model(mod => { mod.Id(v => v.NonContractedCompanyID); mod.Field(v => v.Name); }) ) ))@Html.ValidationMessageFor(m => m.NonContractedCompanies, "", new { @class = "text-danger" })
Thank you for your help.
Gábor
Hi there,
I am trying to get an MVC Kendo UI Grid on the sorting event of a particular column to sort by a different property in the bound model class. Is this possible - I've tried defining the Sortable comparer (http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.sortable.compare) but can't seem to get the syntax working. Below is my cshtml view code - for the SampleResultsOverview column I need the sort value to be bound to a different property on the site model instead - the property is called SampleResultsOverviewSortOrder.
Many thanks, Mark.
.Columns(columns =>
{
columns.Bound(site => site.UPRN).Title("UPRN");
columns.Bound(site => site.AddressWithPostcode).Title("Address");
columns.Bound(site => site.Contact).Title("Contact");
columns.Bound(site => site.Telephone).Title("Telephone");
columns.Bound(site => site.SampleResultsOverview).Title(@RecActionHeader).Encoded(false).Sortable(
compare: function (a, b) {
return numbers[a.name] - numbers[b.name];
);
columns.Template(site => { }).ClientTemplate(" ").Title("Site Documents");
})

Is there a way to use a template for popup editing in a treeview ?
By default, the popup displays all the model's fields but i want to hide some.
I can't figure out how to do that.
Thanks for your help.
Alan.
What would be easiest way to do this..?
Would it represent a performance hit (for grid with 25 columns)?

Hi,
I have a problem with scroll in mobile view of inline edit kendo grid with infinity scroll.
When I am trying to scroll rows are getting selected.
I have attached a file to view my problem. In the same way to view this below link on iphone or ipad.
"https://demos.telerik.com/kendo-ui/grid/events" .
Could you please help me out.
Thanks for helping me.

Here we go again. Why can't a new release use the latest version of MVC?
I updated my project and got MVC version warnings, again, just like in the fall.
Sure enough, I downloaded the SOURCE code and looked, and it uses MVC 5.2.6 still.
NOTE: If a ticket is put into the system, it will take weeks or even months for a fix because this is always deemed low priority.

I am experiencing a very strange behavior in my charts when I hover and move the cursor up or down the tooltip and the market moves to the left or right instead of being fixed at the crosshair position. Am I missing some simple setting for this?