Telerik Forums
Kendo UI for jQuery Forum
1 answer
114 views
I am setting a number format on my cell which appears to work fine initially, but after you manually edit the cell - the number formatting seems to go away. You can reapply it through the toolbar, but each edit seems to remove the formatting.
Mihai
Telerik team
 answered on 11 Mar 2016
4 answers
343 views

We are using the masked text box along with a phone number validator in asp.net mvc. We are running into an issue with the phone number autocomplete in chrome where if there is a phone number already stored in the autocomplete it disables the mask resulting in a condition like the attached screenshot. Where the user is unable to fix the phone number. The field name is "Phone". Do you have any suggestions or workarounds for this issue?

 

 

Georgi Krustev
Telerik team
 answered on 11 Mar 2016
4 answers
213 views

Can I make a kendo grid a draggable item?  What I would like to do for example is have 2 or more grids on a page and the user can click the header of the grid and move them around to different drop zones on the page.  Like a customized widget dashboard.

Is this possible?

Thanks,

Coty

Alexander Valchev
Telerik team
 answered on 11 Mar 2016
1 answer
86 views

Hi,

Issue:  Essentially if you use an optionLabel, the incorrect dataItem is pulled back using the event.item.index() as well as the event.sender.dataItem() methods.  

Reproducible demo here:  http://dojo.telerik.com/awona

Steps to reproduce:

1) Choose Maria, first real option in the drop down list.

2) Note at the top of screen, index 0 and dataItem is the optionLabel.  It should be index = 1 or at the very least, dataItem should = Maria Anders. 

Thanks

 

 

 

Kiril Nikolov
Telerik team
 answered on 11 Mar 2016
2 answers
116 views

Hello! I'm developing a master/detail with two kendo grids, as you can see in this kendo dojo: http://dojo.telerik.com/EREHO/20

When you click on a row on top master grid, in the bottom detail grid appears the selected row "projected" in different way.

You can edit the fields in detail grid and this will affect also the master grid.

But there is an unexpected behaviour: looking at bottom field (InsertionDate) in detail grid, when you edit another field the name "InsertionDate" is replaced by the name of edited field, and also the red dirty corner is applyed always at bottom field.

After some debugging I have managed to understand the something goes wrong inside function that handles 'save' event in detail grid, in particullary in these code lines:

row.set(prop, value);
var selectedRow = $('#masterGrid').find("tbody>tr[data-uid=" + ctrl.selectedRowUid + "]");
$grid.select(selectedRow);

Is this some kind of kendo bug or am I achieving this behaviour in a wrong way? Do you have any suggestion for this issue?
Thanks!

Mattia Thiella

 

Kiril Nikolov
Telerik team
 answered on 11 Mar 2016
2 answers
64 views

Hello, 

I am fairly new to Kendo and front end development in general. I am working on trying to populate a grid using local data. My text editor is Sublime Text and when I try to view in browser, I get a blank screen. I tried it the code in Dojo and it works fine but I can't seem to view it in browser. Do I need to set up a local environment in order to view Kendo work? 

 

Here is my code: 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>VSP | Client Websites</title>
    <link rel="stylesheet" href="styles/main.css">
    <link rel="stylesheet" href="styles/kendo.common.min.css">
    <link rel="stylesheet" href="styles/kendo.default.min.css">
    <link rel="stylesheet" href="styles/kendo.mobile.all.min.css">
</head>
<body>
    <div id="grid"></div>
 
    <script>
        var clients = [ { clientLogo: "#",
                          companyName: "Lowe's Home Improvement",
                          clientID: 123456,
                          lastEdited: "02/15/2016",
                          lastEditedBy: "Barbara Johnson",
                          status: "In Progress"}];
        $("#grid").kendoGrid({
        columns: [ { title: "Client Logo", field: "clientLogo" },
                   { title: "Company Name", field: "companyName"},
                   { title: "Client ID", field: "clientID"},
                   { title: "Last Edited", field: "lastEdited"},
                   { title: "Last Edited By", field: "lastEditedBy"},
                   { title: "Status", field: "status"}],
            dataSource: clients
        });
  </script>
 
    <script src="js/jquery.min.js"></script>
    <script src="js/kendo.all.min.js"></script>
</body>
</html>

Kiril Nikolov
Telerik team
 answered on 11 Mar 2016
3 answers
155 views

Is there a way to set a property autoHide to  false in the GANTT Tooltip?

I found this answer

http://www.telerik.com/forums/gantt-tooltip-ignoring-tool-tip-properties

, but I don't found any options to configure the GANTT Tooltip to avoid autoHide

http://docs.telerik.com/kendo-ui/api/javascript/ui/gantt#configuration-tooltip.

 

Bozhidar
Telerik team
 answered on 11 Mar 2016
1 answer
7.9K+ views

Hello, 

In my grid, I'd like to make the text in 'field: companyName' a clickable link. I have tried to change it to: 

{ title: "Company Name", template: '<a href="#">#= companyName#</a>', width: "300px"}

but have no luck. I have also searched around the forums but couldn't find the answer. Can anyone help me. Also, I am looking to add URL link to each client but am not sure how to do that either. 

Here is my script code in its entirety. 

<script>
var clients = [ { clientLogo: "img/lowes.png",
            companyName: "Lowe's Home Improvement", 
            clientID: 123456,
            lastEdited: "02/15/2016",
            lastEditedBy: "Barbara Johnson",
            status: "In Progress"},
            { clientLogo: "img/verizon.png",
            companyName: "Verizon Wireless",
            clientID: 123456,
            lastEdited: "02/15/2016",
            lastEditedBy: "Barbara Johnson",
            status: "In Progress"},
            { clientLogo: "img/mcdonalds.png",
            companyName: "McDonald's Corporation",
            clientID: 123456,
            lastEdited: "02/15/2016",
            lastEditedBy: "Barbara Johnson",
            status: "In Progress"},
            { clientLogo: "img/att.png",
            companyName: "AT&T Wireless & Network Information",
            clientID: 123456,
            lastEdited: "02/15/2016",
            lastEditedBy: "Barbara Johnson",
            status: "In Progress"},
            { clientLogo: "img/stjoseph.png",
            companyName: "St Joseph Healthcare System",
            clientID: 123456,
            lastEdited: "02/15/2016",
            lastEditedBy: "Barbara Johnson",
            status: "In Progress"},
            { clientLogo: "img/proteinbar.png",
            companyName: "Protein Bar",
            clientID: 123456,
            lastEdited: "02/15/2016",
            lastEditedBy: "Barbara Johnson",
            status: "In Progress"},
            { clientLogo: "img/invision.png",
            companyName: "InVisionApp",
            clientID: 123456,
            lastEdited: "02/15/2016",
            lastEditedBy: "Barbara Johnson",
            status: "In Progress"} ];
$("#grid").kendoGrid({
    columns: [ { title: "Client Logo", template: '<img src="#= clientLogo #" />' },
               { title: "Company Name", field: 'companyName', width: "300px"},
               { title: "Client ID", field: 'clientID'},
               { title: "Last Edited", field: 'lastEdited'},
               { title: "Last Edited By", field: 'lastEditedBy'},
               { title: "Status", field: 'status'} ],
    dataSource: clients
});     

Dimiter Madjarov
Telerik team
 answered on 11 Mar 2016
1 answer
152 views

I would like to remove the ability to re-size the panes (the grid and the graph). I know this uses the Kendo Splitter widget, but I get really wonky results when I try to disable splitter resizable option.

$("#gantt").kendoSplitter({
    panes: [ { resizable: false }, { resizable: false } ]
});

It completely messes up the gantt widget. 

Any suggestions?

Dimitar Terziev
Telerik team
 answered on 11 Mar 2016
1 answer
1.1K+ views
Hi, i was trying to use kendo grid k-on-change directive, but i got some issue.

I have angular controller, like this:
function controller($scope){
var vm = this;
... some code ...

vm.onChange = _onChange;

function _onChange(data, dataItem, columns){
console.log(data);
};
}


and angular config, like this:
function config($stateProvider){
$stateProvider.state('someState.grid',{
url: "some url",
template: "grid.html"
...
controller:"GridController",
controllerAs: 'ctrl',
resolve:{
gridData: function(...)...
},
...
});
}


and grid.html is:
<div class="grid">
    <div kendo-grid
         k-options="ctrl.gridOptions"
         k-ng-delay="ctrl.gridOptions.dataSource"
         k-on-change="ctrl.onChange(data, dataItem, columns)">
    </div>
</div>


So, when i try to select any item in grid, i get: "Uncaught TypeError: i[n].call is not a function" issue.
What is my mistake?
Konstantin Dikov
Telerik team
 answered on 11 Mar 2016
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?