Hello for some users they're have a difficult time telling that the k-button is grayed out or disabled, so want to see if there's a way to gray out this button about 30% more when the "isNewBipEnabled" field is equal to "false" and i've attached a word document with snap shots for reference, thanks for any pointers!
<td width="10%"> <button class="bip-btn" data-bind="enabled: isNewBipEnabled, click: onNewBip"><img data-bind="attr: {src: newImgUrl}" style="vertical-align:middle;" /> <span style="font-weight:bold;margin-top:2px;">New BIP</span> </button> </td>/* <== special effiect when switching between views */.bip-btn:hover { background-color: cadetblue;}
I'm wondering how to modify the following 'edit' and save: statements/functionality to just show a "Link" title on the button and only have to select the "Link" button once to bring up a hyperlinked page? attached is some more code detail with snap shots, thanks! { 'command' : ['edit'], 'title': ' ', 'width': '180px' }
data-bind="source: reportDs , events: { save: onSave}"
<script type="text/x-kendo-template" id="report-template"> <h1 style="text-align:center;font-size:24px;color:darkmagenta;">Personnel Security Activity Report</h1> <div class="report-container"> <div style="margin:5px;"> <div id="gridAppUsers" data-role="grid" data-columns="[ { 'title' : 'Report', 'field' : 'reportLabel' }, { 'title' : 'Report Link', 'field' : 'reportLink' }, { 'command' : ['edit'], 'title': ' ', 'width': '180px' } ]" data-editable="inline" data-sortable="true" data-scrollable="true" data-selectable="single, row" data-bind="source: reportDs , events: { save: onSave}" > </div> </div> </div>
Hi,
Im using KendoUI for PHP. Im trying to to use SAVE STATE functionality by the KENDO manual:
https://demos.telerik.com/kendo-ui/grid/persist-state
...to save the datagrid configuration.
The problem is, when I will save state, to JSON string is saved also lists of items related to column ids. When I will save the datagrid configuration, there are saved also the related items. Next, when I rename some of the list item in the database, the change is not displayed, because all list items was saved and loaded from JSON save state configuration.
Is it possible to solved this problem (for example do not save the lists items into JSON, or another solution)?

Hello,
I am using a Kendo DateTimePicker in an ASP.Net Core 2 project. The DateTimePicker shows the date properly just in a wrong (probably default) format.
The data is coming from the controller in Json format. The server side object is simple C# DateTime.
The shown date is: http://prntscr.com/kgdnwe
The wished format is for example: yyyy/MM/dd hh:mm
The code of the DateTimePicker:
@(Html.Kendo().DateTimePicker()
.Name("tbM1Added")
.Format("yyyy/MM/dd hh:mm tt")
.ParseFormats(new string[]{ "yyyy/MM/dd", "hh:mm tt" })
.HtmlAttributes(new { style = "width: 100%" })
)
The js code:
document.getElementsByName("tbM1Added")[0].value = selectedUser.M1Added;
When I write it on the console it shows:
Fri Oct 20 2017 23:11:50 GMT+0200 (Central European Summer Time)
Can you give me any idea how to achieve the desired datetime format?
Hi,
I adds a DATE column (created date of the record) into KendoUI grid, but the database format of column is DATETIME, because, I need to know also time. Problem is, when Im using filtering functionality, because when I would like to filter this column to date = for example 2018-08-08 and Im sure, that some records was created on this day, datagrid do not fond nothing. Its because, the datagrid is searching for 2018-08-08 00:00:00 and no record exists with a zero time.
Is there any way to solve this problem in datagrid or, there is needed to create two columns in the database, one as a DATETIME and second as a DATE. I have problem also with the WEEK number (I opened another discussion thread). If I need to add also the week number, I need to have 3 columns in the database for one information: DATETIME, DATE, WEEK. I think, its poor solution. Do you have any other ideas?
Thanks for help.
When dragging a cell value downwards, if a row is hidden, the value inside that row is also changed. Is there any way to disable this so that it acts more like Excel (Which ignores hidden rows when dragging values)
Thanks
Marc
I have grid and chart ,they are using the same datasource,my data-source is coming from a ajax call,im not using my datasource like:
dataSource: {
serverFiltering: true,
transport: {
read: { url: "https://demos.telerik.com/kendo-ui/service/StockData", dataType: "jsonp"},
parameterMap: function(data) {
return { filter: JSON.stringify(data.filter) };}}, schema: stockDataSchema },
i just do a ajax call:
$.ajax({
dataType: "json",
type: "POST",
url: "@Url.Action("Controller","View")",
contentType: "application/json; charset=utf-8",
data: JSON.stringify({ "parameters}),
success: function (result) {
// I USE THE RESULT AS A DATASOURCE OF MY CHART AND GRID,DIRECTLY
}};
now,what i want is ,when i click on grid item to be sorted,chart should be sorted accordingly ,how should i achieve this?
Hi,
I'm using KendoUI for PHP. I was created a KendoUI Grid with some column and everything is working.
But now, I don't know, If is it possible, but I need to add to my datagrid a column with the WEEK number and combined with NUMBER filtering header.
Thank you very much for each help.