Hello,
How can I get Kendo Menu to work like Teleriks Demos site style menu.
Also how can I modify css styles for menu?
http://demos.telerik.com/kendo-ui/menu/index
Thanks.
In my grid (inline editable), I have a column that, when edited will become a multi-select. The dataSource for the multi-select will be retrieved from the server and will be in the form id/text, where id is an int, and text is a string. The mult-select works great and retrieves the data great from the server. The issue becomes when I want to display the selected items to the user when the user is finished editing. The DB wants the selections as a CSV of IDs. The UI wants the selections presented to the user as a CSV of Text.
When I add a new row, the multi-select works great because there are no items to pre-select.
When I edit a row that already has selections that need to be pre-selected, how can I do this since there may be duplicate Text, but never duplicate IDs
So, 2 main issues:
1. When finished editing a row, how do I get the UI to present CSV of Text, but send a CSV of IDs to the DB
2. When populating the grid, the DB is currently sending the CSV of Text, which isn't in a good form to edit in a multi-select. I'm thinking I should include another member in the Schema / Model that is simple the CSV of IDs. How do I present to the user the CSV of Text, but when editing, use the CSV of IDs to pre-select the control?
Thanks,
--Ed
Hi,
I want to be able to grammatically copy a range of cells down several rows and have the formula's update automatically.
I can get to the cells i want to copy and their formulas with code like
var dataSheet = sheetKendo.sheetByName("sheet1");
var sourceRange= dataSheet.range("A1");
var val = rowCountRange.value();
var formula = rowCountRange.formula(); // =Len(B1) + 2
How could I copy A1 to A2 and have the resulting formula in A2 =Len(B2)+2 in code, eg the same way as you drag down the black cross when doing this manually in the ui.
I know I could do it manually by setting the formula of A2 manually but it would mean I would have to parse and change the formula from A1.
Thanks for any help
Hi
I need to create a very specific set of functionalities for a ComboBox, and from browsing the demos/apis/overview, I havn't been able to determine if it is possible. Therefore; this post, since I'm hoping someone with more experience using Kendo UI and the ComboBox widget, could answer the question.
The ComboBox has the following requirements:
Is this possible? Basically I'm hoping to not download all of the options available on the server, and limit the fetching for when useful filtering values are available.
Any hints/examples would be helpful.
Would another widget be more suitable for this task?
(I'm guessing I have to setup a Datasource with Virtualization, but I havn't been able to get that going yet, so don't want to spend any more time on it, if it is the wrong direction I'm heading).
I'm trying to add an onChange event to the Kendo DatePicker and noticed that there is not an easy way to go about doing this, I unfortunately.
I was able to add an override by using jQuery but I can only get this to work if I know the name of the datepicker. I'm providing an example of this below for reference.
<!-- [ begin ] invoke onChange event -->
<script type="text/javascript">
$(document).ready(function () {
function onChanger() {
alert("Change :: " + kendo.toString(this.value(), 'd')); // show the value
document.forms['submitForm'].submit(); // submit the form
}
$("#datepicker").kendoDatePicker({
change: onChanger
}
);
});
</script>
<input id="datepicker" name="datepickers" />
<!-- [ end ] invoke onChange event -->
My problem is I'm looping through items which dynamically are building these datepickers.
So my code looks like this:
<code>
@(Html.Kendo()
.DatePicker()
.Name("AllTeachersObjectives_" + rec.CalendarGroupID)
.Value(rec.AllTeachersObjectives)
.Max(DateTime.Now.AddYears(10))
.Events(e => e.Change("startChange"))
)
</code>
How can I dynamically invoke the onChange event from using a name of a datePicker that is dynamic?
Any help would be greatly appreciated!!
TIA
- Dave
Hi,
I have the following Site in a Cordova Application:
<div id="LQKXHXCUyI" style="width: 100%; height: auto;"> <table class="db-layout tableview" style="width: 100%;"> <tbody> <tr> <td style="padding: 0px 5px 5px 0px; width: 25% !important;"> <div id="vBulgojWFV" style="width: 100%; display: block;" k-data-source="gml.ui.vBulgojWFV.dataSource" kendo-drop-down-list="gml.ui.vBulgojWFV.control" ng-model="gml.ui.SDK_Kunde.filterColumn" k-data-text-field="'caption'" k-data-value-field="'id'"></div> </td> <td style="padding: 0px 5px 5px 0px; width: 75% !important;"> <input class="k-textbox" id="lUeESAqFyi" style="width: 100%; display: block;" type="text" data-role="maskedtextbox" ng-model="gml.ui.SDK_Kunde.filterValue" autocomplete="off"> </td> </tr> </tbody> </table> <table class="db-layout tableview" style="width: 100%;"> <tbody> <tr> <td style="padding: 0px 5px 5px 0px; width: 85.71% !important;"> </td> <td style="padding: 0px 5px 5px 0px; width: 14.28% !important;"> <kendo-button style="padding: 5px; float: right;" on-click="gml.ui.SDK_Kunde.search()"> <img style="margin: 0px; padding: 0px;" src="img/search.png"> </kendo-button> </td> </tr> </tbody> </table> <table class="db-layout tableview" style="width: 100%;"> <tbody> <tr> <td style="padding: 0px 5px 5px 0px; width: 100% !important;"> <div id="JNrpXWRaGR"></div> </td> </tr> </tbody> </table></div>If i open the DropDownList and select one Item the whole Application freeze. The DropDownList is not even closing.
I have found that in the Kendo.all.js is a function "propagateClassToWidgetWrapper" and inside this function is the folowing Code:
var mo = new MutationObserver(function(changes){ suspend(); // make sure we don't trigger a loop if (!widget) { return; }....the param "changes" is growing every time times 2. (4, 8, 16, 32, 64, ....) It never stops. I'm not sure if this is the problem for the freezing but I thought it could help to locate the problem.
What is wrong with my Code?
With best regards
Johann
Ability to apply color scheming for different line types??
please help me how can i do?