Telerik Forums
Kendo UI for jQuery Forum
1 answer
100 views

Hi,

Just upgrading from an old (2013) version and am having a problem with our grids. We are using a template for a column for things like editing or deleting a row, but with the latest version the row is not being selected when the template column is clicked.

Here is a sample of the behavior between the versions (2013.3.1119 and 2016.3.1028)

http://jsbin.com/medekixonu/edit?html,js,console,output

I know that on the click of the edit button I could just go find the closest row instead of using grid.select but was this behavior change expected? I would prefer not to have to go update code for every grid in the system for us to upgrade the version.

Any help would be appreciated!

Nathan

Dimiter Topalov
Telerik team
 answered on 01 Dec 2016
4 answers
918 views

all in the question:

how to uncheck all checkbox kendo treeview at once

thank

John
Top achievements
Rank 1
 answered on 30 Nov 2016
2 answers
98 views

Hello 

Not a big thing, just wanted to report it: The ok/cancel button do not grow (to a specific) size. I added the German text "Übernehmen" for the ok button but it will be cut off on the right side (see attached screenshot). Maybe this is also a problem in other languages, no idea. I would expect the button would grow with its text content to a specific size (not to overlap the colorpicker window).

Regards

Tayger
Top achievements
Rank 1
Iron
Iron
 answered on 30 Nov 2016
3 answers
606 views

hi i am trying to use Notification . 

And i am following same steps as shown in Demo. i put following code in show Event . But event is either not firing or function is not being called. I want to call Show event to get the notification centered.

 

function onShow(e) {
     alert ("in loop");
   var element = e.element.parent(),
                            eWidth = element.width(),
                            eHeight = element.height(),
                            wWidth = $(window).width(),
                            wHeight = $(window).height(),
                            newTop, newLeft;
                        
                        newLeft = Math.floor(wWidth / 2 - eWidth / 2);
                        newTop = Math.floor(wHeight / 2 - eHeight / 2);

                        e.element.parent().css({top: newTop, left: newLeft});
}   

   var centered = $("#notification").kendoNotification({
                        stacking: "down",
                        show: onShow,
                        button: true
                    }).data("kendoNotification");

  var notification = $("#notification").kendoNotification().data("kendoNotification");
                        notification.show("Assessment Saved successfully");
  });
</scri

 

following is the Dojo link.

http://dojo.telerik.com/idEHE/5

 

Please help. 

 

thanks,

 

 

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 30 Nov 2016
3 answers
875 views
When the user double clicks on the header of a window, the window goes full screen. Is there a way to stop this happening? Or simple overwrite the functionality? 
Rumen
Telerik team
 answered on 30 Nov 2016
1 answer
300 views
I am using a kendo ui grid in a bootstrap modal window. When I use tabindex=-1 in the modal , then I am able to Use ESC key to close the modal , but the grid operations like sort and filter stop working. So I have removed tabindex=-1 for now. How else can I close the modal window using ESC key?
Stefan
Telerik team
 answered on 30 Nov 2016
1 answer
748 views

I have noticed that while loading my MVC grid read action is called multiple times when there are many rows in the grid. It impacts performance significantly, since read method return json with full grid data every time and it's pretty time consuming.

Any ideas how can I improve grid loading time?

Viktor Tachev
Telerik team
 answered on 30 Nov 2016
2 answers
251 views

Hello,

I'm using a angularjs component inside the ListView template like this:

<!-- Categories Cardview template-->
 <script type="text/ng-template" id="categories-cardview-template">
 <div kendo-list-view="categoriesListView" class="eclub-cardview pager-offset" k-scope-field="cardView"
    
k-options="$ctrl.listViewOptions">
      <div k-template>
        <eclub-category-card category="dataItem" on-select="$ctrl.selectionChanged(card)">
        </eclub-category-card>
      </div>
</div>
 <div kendo-pager k-options="$ctrl.pagingOptions" class="eclub-cardview-pager"></div></script>

The ListView is bound to a Kendo UI Datasource.
I noticed when I add a new item to the Datasource ALL of angular components which are already available in the ListView get re-created.
I tried several ways to add the new item to the Datasource (add, insert, pushCreate), but all with the same result.
So you can imagine the performance hit when the ListView is already displaying let's say 20 items.

Is this normal behavior of the ListView ?

Thanks in advance

William
Top achievements
Rank 1
 answered on 30 Nov 2016
1 answer
231 views

Hi!

I have two cfm (coldfusion) pages that contains multiple charts and have the feature to export the page/charts as pdf. During our iOS testing, the ipad2 that we're using always crashes chrome and when using safari, it just reloads the page without pushing the download. The other page works fine.

The only difference between the 2 page is:

On the page the works properly, the javascript functions are inside the page while the one that crashes, the functions are contained in an external file.

I tried connecting the ipad2 to a Mac to debug and it always crashes when trying to execute kendo.drawing.drawDOM. 

PS: Both exports are working when i tested it on an iPad mini.

Any ideas/suggestions? Thanks,

Below is the code snippet:

kendo.drawing.drawDOM($(clone_id), {avoidLinks: true}).then(function(group) {
    //Render the result as a PDF file
    return kendo.drawing.exportPDF(group, {
        paperSize: "auto",
        margin: { left: "1cm", top: "1cm", right: "1cm", bottom: "1cm" }
        });
}).done(function(data) {
        //  Save the PDF file          
        kendo.saveAs({
          dataURI: data,
          fileName: fileName,
          proxyURL: '/Controllers/v2/LearnerDashboard/v2/LearnerSummaryController.cfc?method=openExport',
          forceProxy: true,
          proxyTarget: '_blank'
    });                                
});
Alex Hajigeorgieva
Telerik team
 answered on 30 Nov 2016
1 answer
242 views

I am attempting to write unit tests for a React component that includes a wrapper for a KendoUI chart.  For testing, I am using jsdom so I can write an isolated unit test for each component.  When I attempt to render the component into the jsdom document, I'm getting the following exception:

C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.color.js:352
            var _Color = kendo.Class.extend({
                         ^
 
ReferenceError: kendo is not defined
    at C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.color.js:352:19
    at Object.<anonymous> (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.color.js:559:4)
    at __meta__.id (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.color.js:73:227)
    at Object.module.exports.583 (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.color.js:74:4)
    at __webpack_require__ (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.color.js:21:30)
    at Object.module.exports.0 (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.color.js:49:19)
    at __webpack_require__ (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.color.js:21:30)
    at C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.color.js:41:18
    at Object.<anonymous> (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.color.js:44:10)
    at Module._compile (module.js:409:26)
    at Module._extensions..js (module.js:416:10)
    at Object.require.extensions.(anonymous function) [as .js] (C:\temp\kendo-test\node_modules\babel-core\node_modules\babel-register\lib\node.js:152:7)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.module.exports.585 (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.dataviz.chart.js:79:19)
    at __webpack_require__ (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.dataviz.chart.js:21:30)
    at __meta__.id (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.dataviz.chart.js:109:10)
    at Object.module.exports.625 (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.dataviz.chart.js:116:4)
    at __webpack_require__ (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.dataviz.chart.js:21:30)
    at Object.module.exports.0 (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.dataviz.chart.js:49:19)
    at __webpack_require__ (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.dataviz.chart.js:21:30)
    at C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.dataviz.chart.js:41:18
    at Object.<anonymous> (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\node_modules\kendo\js\kendo.dataviz.chart.js:44:10)
    at Module._compile (module.js:409:26)
    at Module._extensions..js (module.js:416:10)
    at Object.require.extensions.(anonymous function) [as .js] (C:\temp\kendo-test\node_modules\babel-core\node_modules\babel-register\lib\node.js:152:7)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (C:\temp\kendo-test\node_modules\kendo-ui-react-jquery-charts\dist\index.js:7:26)
    at Module._compile (module.js:409:26)
    at Module._extensions..js (module.js:416:10)
    at Object.require.extensions.(anonymous function) [as .js] (C:\temp\kendo-test\node_modules\babel-core\node_modules\babel-register\lib\node.js:152:7)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (C:/temp/kendo-test/src/components/RiskByYearChart.jsx:2:1)
    at Module._compile (module.js:409:26)
    at loader (C:\temp\kendo-test\node_modules\babel-core\node_modules\babel-register\lib\node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .jsx] (C:\temp\kendo-test\node_modules\babel-core\node_modules\babel-register\lib\node.js:154:7)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (C:/temp/kendo-test/test/components/RiskByYearChart-spec.jsx:6:1)
    at Module._compile (module.js:409:26)
    at loader (C:\temp\kendo-test\node_modules\babel-core\node_modules\babel-register\lib\node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .jsx] (C:\temp\kendo-test\node_modules\babel-core\node_modules\babel-register\lib\node.js:154:7)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at C:\temp\kendo-test\node_modules\mocha\lib\mocha.js:222:27
    at Array.forEach (native)
    at Mocha.loadFiles (C:\temp\kendo-test\node_modules\mocha\lib\mocha.js:219:14)
    at Mocha.run (C:\temp\kendo-test\node_modules\mocha\lib\mocha.js:487:10)
    at Object.<anonymous> (C:\temp\kendo-test\node_modules\mocha\bin\_mocha:459:18)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:974:3
 
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "test"
npm ERR! node v4.5.0
npm ERR! npm  v2.15.9
npm ERR! code ELIFECYCLE
npm ERR! kendo-test@1.0.0 test: `mocha --compilers js:babel-core/register --require ./test/test_helper.js "test/**/*@(.js|.jsx)"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the kendo-test@1.0.0 test script 'mocha --compilers js:babel-core/register --require ./test/test_helper.js "test/**/*@(.js|.jsx)"'.
npm ERR! This is most likely a problem with the kendo-test package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     mocha --compilers js:babel-core/register --require ./test/test_helper.js "test/**/*@(.js|.jsx)"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs kendo-test
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls kendo-test
npm ERR! There is likely additional logging output above.
 
npm ERR! Please include the following file with any support request:
npm ERR!     C:\temp\kendo-test\npm-debug.log

 

I'm attaching a zip file with the component and test.  To run (assuming you have nodejs installed):

  • unzip the file
  • from a command prompt cd to the project directory
  • run "npm install"
  • run "npm run test"

Thanks in advance for any help!

T. Tsonev
Telerik team
 answered on 30 Nov 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
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?