Hi,
I have menu columns in my when we click menu columns, we can decide which columns to display in UI. But when I click menu columns to decide which columns to display in UI, my UI just sucks. Why ? How can I solve?
Is it possible to show the following when looking at the year view?
How custom can we make the header? I would like to have the following rows
Year
Quarter
Month
Weekday start
Week # (of the year)
Dear Sir/Madam,
We are working to build a scheduler based web application and purchased the Kendo UI license to make use of the features that you have build in the control.
While working with our business owners team, we understand that there are some difficulties in achieving some of the below business requirements and we are seeking your help to the identify the approach.
1. We wanted to have the ability to scroll the calendar control, when user prepares schedule for more than 6 weeks.
2. Please refer the attached UI wireframe, where in we have business requirements to display shift allocation for assignee and for a particular day. (We normally have multiple shifts on any day of the scheduling period). Our business owners looking to increase the height of calendar day cell dynamically depending on number of shifts.
3. A Grey line to differentiate the months (Highlighted in red box)
4. Display month name vertically on the left side of the calendar
5. We have requirement to refresh / change shift allocation for a particular day (Day cell) independently in the calendar.
6. Calendar to be displayed for any time range (not just for a month) - Please see the blue highlight in the attached image.
Requesting you provide the guidelines or approaches or examples to implement these features.
Please reply back, in case if you want to have quick discussion to clarify any questions you may have.
Thanks & looking forward to hear from you.
Regards,
Hi,
I am using ASP.NET MVC for kendo grid. I want to Insert Dropdown menu to grid row. But I did not find any related articles.
I assume there will something I insert @(Html.Kendo().Menu() to @(Html.Kendo().grid()
Hey there guys, I've spent a good amount of time looking through other people's issues for this problem and haven't found it addressed yet.
Basically the problem I'm experiencing is trying to create an extension method to HtmlHelper (which works fine), but for some reason setting up corrected operators on filterable is causing issues. Here the code I am trying to use:
public
static
GridBuilder<T> ExtensionGrid<T>(
this
IHtmlHelper<dynamic> helper,
string
name)
where T :
class
{
return
helper.Kendo().Grid<T>()
.Name(name)
.Filterable(filterable => filterable
.Extra(
false
)
.Operators(operators => operators
.ForString(str => str
.Clear()
.Contains(
"Contains"
)
.DoesNotContain(
"Does not contain"
)
.StartsWith(
"Starts with"
)
.EndsWith(
"Ends with"
)
.IsEqualTo(
"Is equal to"
)
.IsNotEqualTo(
"Is not equal to "
)
// <== trailing space is intentional.
)
)
)
.Pageable(pager => pager
.ButtonCount(5)
.PageSizes(
new
int
[] { 5, 10, 20, 50, 100, 150, 200 })
.Input(
true
)
.Refresh(
true
)
)
.Sortable(sortable => sortable
.Enabled(
true
)
.AllowUnsort(
false
)
)
.Events(events =>
{
events.FilterMenuInit(
"trapKendoGridFilterEnterKey"
);
});
}
I can see the UI responding to the Extra(false) piece, but not to the ForString() piece (still just seeing the default string operators). I also see the same behavior when I apply it directly to a grid like this:
@(Html.Kendo().Grid<Role>()
.Name(
"RoleGrid"
)
.Columns(columns =>
{
columns.Bound(c => c.RoleId)
.Hidden(
true
);
columns.Bound(c => c.RoleCode);
columns.Bound(c => c.RoleName);
columns.Bound(c => c.RoleDescription);
columns.Bound(c => c.RoleDisplayOrder);
})
.Filterable(filterable => filterable
.Extra(
false
)
.Operators(operators => operators
.ForString(str => str
.Clear()
.Contains(
"Contains"
)
.DoesNotContain(
"Does not contain"
)
.StartsWith(
"Starts with"
)
.EndsWith(
"Ends with"
)
.IsEqualTo(
"Is equal to"
)
.IsNotEqualTo(
"Is not equal to "
)
)
)
)
.Scrollable()
.Selectable()
.Sortable()
.Pageable(pageable => pageable
.ButtonCount(5)
.PageSizes(
new
int
[] { 5, 10, 20, 50, 100, 150, 200 })
.Input(
true
)
.Refresh(
true
)
)
.DataSource(dataSource => dataSource
.Ajax()
.Model(model =>
{
model.Id(m => m.RoleId);
model.Field(m => m.RoleId).Editable(
false
);
})
.Events(events => events
.Error(
"ajaxErrorHandlerForGrid('RoleGrid')"
)
)
.Read(read => read.Action(
"Role_Read"
,
"Shared"
))
)
)
The only time I do see it working is with a row level filter such as this:
@(Html.Kendo().Grid<Role>()
.Name(
"RoleGrid"
)
.Columns(columns =>
{
columns.Bound(c => c.RoleId)
.Hidden(
true
);
columns.Bound(c => c.RoleCode)
.Filterable(f => f.Extra(
false
).Operators(o => o.ForString(str => str.Clear().Contains(
"Contains"
))));
columns.Bound(c => c.RoleName);
columns.Bound(c => c.RoleDescription);
columns.Bound(c => c.RoleDisplayOrder);
})
.Filterable(filterable => filterable
.Extra(
false
)
.Operators(operators => operators
.ForString(str => str
.Clear()
.Contains(
"Contains"
)
.DoesNotContain(
"Does not contain"
)
.StartsWith(
"Starts with"
)
.EndsWith(
"Ends with"
)
.IsEqualTo(
"Is equal to"
)
.IsNotEqualTo(
"Is not equal to "
)
)
)
)
.Scrollable()
.Selectable()
.Sortable()
.Pageable(pageable => pageable
.ButtonCount(5)
.PageSizes(
new
int
[] { 5, 10, 20, 50, 100, 150, 200 })
.Input(
true
)
.Refresh(
true
)
)
.DataSource(dataSource => dataSource
.Ajax()
.Model(model =>
{
model.Id(m => m.RoleId);
model.Field(m => m.RoleId).Editable(
false
);
})
.Events(events => events
.Error(
"ajaxErrorHandlerForGrid('RoleGrid')"
)
)
.Read(read => read.Action(
"Role_Read"
,
"Shared"
))
)
)
I have tried setting the GridFilterMode to menu, but that didn't cause any change. And I'm using the latest release of Telerik.UI.for.AspNet.Core (2017.1.118), the project type is .NET Core with .NET Framework, and it is using similar code to a .NET Framework project that currently works fine. Is this functionality that is no longer supported or is there a new way to implement it that I am missing?
Thanks for the help.
Hi folks,
I try to use the noDataTemplate as mentioned in example on "http://demos.telerik.com/kendo-ui/autocomplete/addnewitem" for adding new items if they not exist in data source. The data source in my case is a local one, NOT using remote data. My application is running with angular and I use the autocomplete inside an angular controller, NOT as angular directive. Inside the loaded template I try to use a scope function of my angular controller, to trigger the new item adding.
Now at run time, the template is inserted into the DOM at the end of the body not inside my controller area, where the autocomplete is located.
Now the problem is, that the scope function is not found in template. Is there any other approach or what is my mistake by initializing the autocomplete control?
Thx and
kind regards
Danny
OK I give in... how do you add items to a Sortable Dynamically?
Also, is it possible to temporarily hide items?
And can a sortable be generated from an array/datasource?
I would like to remove the "Add" button on my kendo grid and instead have a permanently available add row at the bottom of the grid. When the user clicks the update button in that grid it would fire the create command and add the row.
It looks like i can set the insert row to the bottom by using:
.Editable(e => e.Mode(GridEditMode.InLine).CreateAt(GridInsertRowPosition.Bottom))
I then tried to make the add row visible by using the following code
.Events(e => e.DataBound("Adjustment_Bound"))
<
script
type
=
"text/javascript"
>
function Adjustment_Bound() {
var grid = $("#Adjustment-grid").data("kendoGrid");
grid.addRow();
}
</
script
>
This however locked up the browser, I am guessing because the addRow() causes the databound to get refired.
TIA,
Logan
We're revamping our toolbars, which you might have guessed by the volume of questions I'm posting on this forum. In the past, we have often put kendoMenu controls within a kendoToolBar. We've been able to make that work, but we've had to implement work arounds, especially when it comes to things like 508 compliance - feedback, keybinding - and we've also had issues with overflow not working properly. We've ended up not using overflow as a result and now we want responsive toolbars.
I'm just wanting to touch base and see if kendoMenu within kendoToolBar is more fully supported in the most recent version of kendo. And if not, is there a recommended way of dealing with hierarchical data within a toolbar?