Telerik Forums
Kendo UI for jQuery Forum
2 answers
8.7K+ views
I have one column that I do not want users editing (a username).

I have tried the following:

                columns: [
                    { field: "entityName", title:"Name", editor: null, template: '<img src="#= iconURL #" style="border: 0px;" />&nbsp;#= entityName #' },
                    { field: "editable", title: "editable", filterable: true, sortable: true, editor: comboEditor},
                    { command: ["edit"], title: "&nbsp;", width: "210px", filterable: false }
                ]

Where I have specified the editor as null and that does not work. Additionally have tried:

                    { field: "entityName", title:"Name", editable: false, template: '<img src="#= iconURL #" style="border: 0px;" />&nbsp;#= entityName #' }, 

And that still does not work. Am I overlooking a simple way to disable editing an individual column?
Alex Hajigeorgieva
Telerik team
 answered on 03 May 2018
1 answer
142 views

Hi,

In this dojo it can bee seen that the default culture is not applied to the headers unless an override is applied. After switching cultures to GB I thought the default 'd' would show as day/month instead of month/day.  However I had to override its header to apply 'd'.  Is this a little bug?

https://dojo.telerik.com/@mattpil29/iFUlIFuP

Note this dojo has (what I think) useful examples of modifying the culture pattern and showing that for views you can set multiple headers:

Week - week & day headers

Month - month & week headers

Year - year & month headers

Something that wasn't clear at first.

Matt

Veselin Tsvetanov
Telerik team
 answered on 03 May 2018
9 answers
4.1K+ views
I need to supply basic auth to my server and this can be done using jQuery $.ajax and using the "beforeSend" option like this :-

$.ajax({
       url: "http://someserver:8554/search",
       type: 'POST',
       beforeSend: function(req) {
           req.setRequestHeader('Authorization', auth);
       },
       success: function(data) {
           log(data);
       }
   });

auth is a base64 encoded string that I create that contains the user and password.

Can this be done with the Kendo DataSource?
Dimitar
Telerik team
 answered on 03 May 2018
3 answers
726 views

Hello everybody.

I have an interface with a tree of kendo grids made with detail grids. These grids are built dinamically depending on how many levels the loaded data has. The data comes from outside the grid, so it is set manually. Everything ok until here. The thing is that I need all the detail grids rendered at the load of the interface, so I did a routine which expands and collapses all details only to make sure they (their html in DOM)are all generated. But this routine becomes slow and sometimes freezes the tab for a few seconds while executing if the data is somewhat big. What I want to ask is if there is any other way to do that with more performance than the way I did. Here is the demo: http://dojo.telerik.com/@marcio/OKiPARAb.

The routine is as below:

let generateDetailAllLevelsRecursive = function generateDetailAllLevelsRecursive($grid) {
    let grid = $grid.data("kendoGrid");
 
    $grid.find(".k-master-row").each(function() {
        let $row = $(this);
 
        grid.expandRow($row);
 
        generateDetailAllLevelsRecursive($row.next(".k-detail-row").find(".k-grid"));
        grid.collapseRow($row);
     });
 };

 

Thanks in advance.

Stefan
Telerik team
 answered on 03 May 2018
7 answers
176 views

hi,
I'm trying create a scheduler which is both compatible in mobile and desktop. The issue I'm facing is when I try it in mobile view the full content doesn't show up .
Is it something I have done css or  I have to provide height explicitly other than auto height?

My Example 

 

Magdalena
Telerik team
 answered on 02 May 2018
3 answers
278 views

Hi, 

So (obviously) I've recently updated my KendoUI For jQuery library to the latest version, 2018.1.221. The update has introduced a bug into my code however. In the Release History for Kendo UI R1 2018 SP1 (https://www.telerik.com/support/whats-new/kendo-ui/release-history/kendo-ui-r1-2018-sp1) and it lists the following statement as a bug fix for the Button widget:
"Button keeps active state if pressing Enter to trigger click and changing focus inside click event handler"

A particular feature in my project makes use of setting the state of a kendo button to active to create the equivalent of a "button checkbox". Except now, once i click away from the button I just made active, its active state is removed.

I've created a Dojo example (https://dojo.telerik.com/AKUdABat) which uses the previous kendoUI release to demo what I want to do. Using the 2 version there, click the primary button and note that both buttons are set as active, then click in any white space. In the new release, the primary button's active state is removed, and im confident its due to the button widget fix I previously mentioned.

Please advise on how i can prevent this from happening, or another way of setting the active state of a clicked button without it being reverted.

Thanks in advance,
Grant

Dimitar
Telerik team
 answered on 02 May 2018
6 answers
656 views

Hi,

I have a Gantt in a bootstrap tab control (not selected on page load).  The Gantt was failing to render when the tab was displayed.  So I added resize\refresh calls after the tab is displayed.  The same technique is used in this fiddle: http://dojo.telerik.com/@mattpil29/IXoGOpIm

However the left panel displaying the task names is always collapsed\zero width.  How do we make sure this panel shows all columns when first displayed?

Thanks, Matt

Bonus point question: I do not want a vertical scroll bar in the Gantt chart, instead I want its height to expand as the tree on the left is expanded - the user will scroll my whole page.  I can't see a 'auto' height option.  Can this be achieved?

 

Ivan Danchev
Telerik team
 answered on 02 May 2018
2 answers
136 views

Hi,

Our Pie Chart Label Path become zigzag and difficult to read after using v2018.1.221. (Before v2013.1.319)

Is there any option to adjust it, thank you ?

 

Regards,

Davis

 

C.F.
Top achievements
Rank 1
 answered on 02 May 2018
9 answers
777 views

Hi

I have a TabStrips that gets the tabs from external source (dynamic) and the scrollable property is not working for me. Here is part of the code, I will appreciate any help.

$("#tabstrip").kendoTabStrip({
tabPosition: "top",
scrollable: true,
dataTextField: "ItemId",
dataContentUrlField: "ItemUrl",
dataSource: dataSourceItem
dataBound: function () {
var tabStrip = $("#tabstrip").data("kendoTabStrip");
tabStrip.select(0);
},
activate: onItemSelect,
});

 

Thank you!!!

Ivan Danchev
Telerik team
 answered on 01 May 2018
5 answers
179 views

Hi support team. 

We are developing an offline application with use of angular 1.6 & kendo ui & jQuery 3.1.1.
We've tried to update a kendo to newest version, but we've hit issue #3446 so we've decided to use latest version, that handles dropdowns correctly - 2015.3.1111. 

I have a following tabstrip control:

1.<div id="tabstrip1" class="tabstrips" kendo-tab-strip k-on-activate="onTabActivate(kendoEvent)" k-content-urls="[ 'NGViews/First.html', 'NGViews/Second.html', 'NGViews/Third.html' ]" k-animation="{open:{effects:false}}" ng-show="contentDisplay">
2.<ul>
3.  <li id="firstTab" class="k-state-active" ng-click="doSmth(0)" >First</li>
4.  <li id="secondTab" ng-click="doSmth(1)" >Second</li>
5.  <li id="thirdTab" ng-click="doSmth(2)" >Third</li>
6.</ul>
7.</div>

When I use Kendo.Ui ver v2014.2.903 Ajax calls from TabStrip looks like that: ".../NGViews/First.html", but when I switch to 2015.3.1111 they starts looking like this: "....NGViews/First.html?_=1501840674365 - this number at the end is increased with every call. So caching mechanism can't read page from cache.

According to documentation this can be overrided in 2017 releases.

Do you know a way to bypass this problem in 2015.3.1111? For us it is critical issue.

I've tried to make $.ajaxSetup({ 'cache': true }); just after referencing jQuery, but it gave me nothing.

Joana
Telerik team
 answered on 30 Apr 2018
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?