Hi everyone,
I'm newbie, I get a stuck when view ItemName in Grid
I have Datasource about User, Location, DataCode
dataUser = [
{
"CompCode" : "abc",
"LtnList": "%, 001, 002",
"DataCode": 5
},
{
"CompCode" : "abc",
"LtnList": "001, 002",
"DataCode": 7
},
]
Datasource Location:
DataLctn = [
{
"ITEMCODE" : "%",
"ITEMNAME" : "All"
},
{
"ITEMCODE" : "001",
"ITEMNAME" : "Paris"
},{
"ITEMCODE" : "002",
"ITEMNAME" : "NewYork"
}
]
Datasource DataCode
DataCode = [
{
"ITEMCODE" : 1,
"ITEMNAME" : "Add"
},
{
"ITEMCODE" : 2,
"ITEMNAME" : "Update"
},
{
"ITEMCODE" : 3,
"ITEMNAME" : "Delete"
}
]
How to map ItemName from DataCode and DataLctn sothat I show their ItemNames in Grid of DataUser
Hi,
i have a scenario where when user edits one of the cell in hierarchical grid column value in parent row should get updated. Can you please help me with this?
my requirement is to save the page size selected by user in kendo grid, how can we get the selected page size drop down value
the below property of kendo grid get the default page not the actual page size selected by the user.
$("#grid").data("kendoGrid").dataSource.pageSize
thanks for your help!
Hello,
After changing new line to <br>, the editor inserts the ordered/unordered list always at the top of textarea box instead of the current position of the cursor.
Here's how I changed the default new line break for editor:
var defaultTools = kendo.ui.Editor.defaultTools;
defaultTools["insertLineBreak"].options.shift = false;
delete defaultTools["insertParagraph"].options;
While inspecting the HTML, I noticed that the editor starts the list at the top of the textarea but I had placed the cursor on the new line under Text3
<body autocorrect="off" contenteditable="true" class="">
<ul>
<li>Text1<br>
Text2<br>
Text3<br>
<br class="k-br">
</li>
</ul>
</body>
If I change back to default behaviour for new line, i.e., <p>, then the list gets inserted at the current cursor position. Please advise.
Thanks,
Alex