Good afternoon
If we look at the following demo page, we see Discontinued as a bool
https://demos.telerik.com/aspnet-mvc/grid/editing
Now I understand we can change the bound column to use a ClientTemplate to change true/false to a checkbox like so:
columns.Bound(p => p.Discontinued).ClientTemplate(
"<input type='checkbox' value='#= Bin_ID #' " +
"# if (SiteHasBin) { #" +
"checked='checked'" +
"# } #" +
"/>").Width(100);
What I am struggling with is how we go about removing the "click once to enter edit mode, click again to uncheck/check the checkbox before clicking save"
How do I go about effectively removing/hacking the existing code so that if a user sees a checkbox, they just click the checkbox AND the batch editing works out the box?
Hello,
I have a scheduler with a day, week, month, and agenda view. I have set up a template for the agenda view and it is displaying properly. I also have a generic one set up that should be applied to day, week, and month but only the month view is showing, the other two get the generic view. Any ideas on this?
Thanks,
Scott
Afternoon,
I have a form which uses
.ButtonsTemplateId("saveTemplate")
<script type="text/x-kendo-template" id="saveTemplate">
<button class="k-button k-primary">Save Changes</button>
<button type="button" class="k-button" formaction="@Url.Action("Index");">Back to List</button>
</script>
I need the second button to return to the Index without submitting the form or causing validation.
How can I achieve this?
Many thanks,
Richard
Hello, I'm using the orgchart control for .net core MVC (Telerik: 2021.3.914), and I have a custom template for each node. It works perfectly, but I want to add a kendo popover on an icon. How do I go about using a popover within the template? The icon id and body would be dynamic, so I'm not sure how to get that working. I have a field named StatusTypeName that I have defined on the orgchart control, that I want to use as the body.
<script id="tmpDetails" type="text/kendo-tmpl">
<ul class="list-group">
<li class="list-group-item bg-alpha text-white-50 px-3">
<div class="form-row">
<div class="col-md-1">
<i id="iStatus_#:id#" class="fa fa-circle align-self-center mr-2
#if (data.StatusTypeID == 1){#status-paused#}#
#if (data.StatusTypeID == 2){#status-started#}#
#if (data.StatusTypeID == 3){#status-cancelled#}#
#if (data.StatusTypeID == 4){#status-completed#}#
" style="padding-top: 1px;"></i>
@(Html.Kendo().Popover()
.For(???)
.Position(PopoverPosition.Top)
.ToggleOnClick(true)
.Body(#:StatusTypeName#)
.ToClientTemplate()
)
</div>
I love using all the kendo widgets you offer. But why is the drawer component so hard to use?
My approach is to use a global navigation sidebar. Currently I'm using the panelbar as navigation but somehow I have the feeling that the kendo panelbar was never intended to be a navbar.
So I looked again in the demos and saw the drawer. As described in the introduction it is intended to be used as a side navigation. Also I figured out that the left sidebar on the demo pages (where you can navigate through the available widgets kendo offer) is a drawer too. So I thought hey, maybe it is just the thing you need right now!
But then I tried to implement it in my app and it is a mess compared to all the other available kendo components. Just a few things I noticed, maybe somebody can answer me the points:
In the second picture you see the super easy to use panelbar as my current navigation bar in my application compared to the drawer I tried to integrate. Like I said I have the feeling the panelbar component is not intended to be a navbar. Also it has a bug which I already reported to you and which is pretty annoying (https://github.com/telerik/kendo-ui-core/issues/6528).
Hi,
is it possible to have a standalone column-chooser in ASP.Net Core Telerik UI, like shown here in Angular UI?:
https://www.telerik.com/kendo-angular-ui/components/grid/columns/menu/#toc-standalone-column-chooser
Hi,
is it possible to change order of column menu items?
By default menu items are like this:
1. Sorting
2. Columns show/hide
3. Filtering
I would like to change that ordering to (for example):
1. Filter
2. Columns
3. Sort ascending
4. Sort descending
I have a grid similar to this where the first column is a label and the other columns are years.
2020 2021
Apps 2,000 3,000
Orgs 3,000 7,000
Total 5,000 10,000
% Chg 50%
I would like for the numbers to be formatted as they are above. That is, in all of the rows except the last one numbers are formatted with comma separators, and in the last row numbers are formatted with a trailing %.
Is there a way to conditionally format the numbers depending on the row?
Thanks,
Tim
Hi,
I'm working on develop web application using MVC Core (razor). One of the view will have column with running total from previous row (see picture below) . I try to use Kendo Grid (GridEditMode.InCell) to do the job and write some codes to save to database but I cannot get amount from previous row to display. The first row the users enter the number to start and the row after that will need to get the amount from previous pulse the number from column b, c, d.
Do you have any recommendation what is the better tools or widgets to use to handle all these requirement? Thank you.