Telerik Forums
Kendo UI for jQuery Forum
5 answers
942 views

I've searched around a little but can't find a relevent resolution.

 

On a grid with virtual scrolling (all data is on client), how can I stop Kendo from scrolling to the top of the page after a user does a batch save and the grid rebinds?

Stefan
Telerik team
 answered on 16 Nov 2017
4 answers
228 views

I have been having a problem with trying to edit a second time after pressing cancel the first time. I found a kendo example which demonstrates my problem: https://docs.telerik.com/kendo-ui/controls/scheduling/scheduler/how-to/binding/using-local-observable-data-object

I clicked cancel when editing an event. Then double clicked the event again to edit and it did not work. In the example it will only redisplay the edit screen if you press the "update" button first. But after that you can open the edit screen and press cancel as many times as you like.

Can you help fix this?

 

Ivan Danchev
Telerik team
 answered on 16 Nov 2017
2 answers
140 views

Good Morning,

I have two dropdownlists on the same page. The first for 'TimePeriodId' is added via a view through showIn a kendo.Layout and works perfectly.  The second for 'field' is an inline or popup grid input which loads and displays the list, but upon selection of an item errors out with 'Object Expected'.  All other grid inputs work perfectly.  Though the MVVM for both are logically equivalent, the resultant HTML is different as the validation span appears within the widget rather than after.  Ideas on the source of the error would be greatly appreciated.

Thanks!

Veselin Tsvetanov
Telerik team
 answered on 16 Nov 2017
3 answers
7.5K+ views
Greetings, 
During coding, i needed to dynamically open tabs based on a users actions.  I discovered the use of the li index...works like a charm...

1. Give each tab an ID

<div id="tabStrip">
    <ul>
        <li id="tFirst">First tab</li>
        <li id="tSecond">Second tab</li>
    </ul>
    <div>First tab content</div>
    <div>Second tab content</div>
</div>

2. Use jQuery to get the tab by id (and later the index)
var tabIndx = -1;
var tab = $("#tFirst");
if(tab != null) { //safety check
   tabIndx = tab.index();}           
3. Change the tab...
$("#tabStrip").data("kendoTabStrip").select(tabIndx);

Enjoy.
Ivan Danchev
Telerik team
 answered on 16 Nov 2017
1 answer
796 views

HI
      I'm trying to use kendo UI,I have a problem,i try to new or update a line in the grid,but some fields are not repeated,I verify it on the server,If repeat,create or update fail,how to stop cteate or update,and display a warn message in the kendo ui -grid?

Konstantin Dikov
Telerik team
 answered on 15 Nov 2017
5 answers
992 views

Hello,

the column filter operators is null, is not null, is empty, in not empty have no translations. (in Italian at least)

BR

  Stefano

Viktor Tachev
Telerik team
 answered on 15 Nov 2017
1 answer
125 views
I have shapes from geojson om map and their list. How can I navigate and zoom to shape object with an shape object reference? 
Georgi
Telerik team
 answered on 15 Nov 2017
1 answer
2.1K+ views

I'm having issues refreshing the grid after doing some work post data-bind.

Within the DataBound event on a Kendo Grid I have the following code block:

var items = this.dataSource.data();
 
for (i = 0; i < items.length; i++) {
     
    var row = this.dataSource.at(i);
     
    switch (row.ChangeStatus) {
        case 0:
            row.ChangeStatus = 'Pending';
            break;
        case 1:
            row.ChangeStatus = 'Approved';
            break;
        case 2:
            row.ChangeStatus = 'Declined';
            break;
        default:
            break;
    }
}

 

When I run this and put it through the debugger I can see that the values are updated pretty quickly. To then update the grid I'm calling this.refresh() but I'm seeing a massive slowdown (and sometimes the page becomes unresponsive).

If I remove the call to $('#gridPortChanges').data("kendoGrid").refresh(), the grid renders just fine (albeit with 0,1, 2 in the ChangeStatus field). Additionally, if I manually call refresh() from the developer after the page loads it too runs fairly quickly, so it's only an issue when called from dataBound.

Georgi
Telerik team
 answered on 15 Nov 2017
1 answer
224 views

Hi, I couldn't find a Kendo UI for React forum so I thought I might try to post this here. I am trying to create a toolbar with multiselect dropdowns that have a remote datasource. The intent is to give options for custom filtering for a grid. I tried to go off the examples available but there are no dataSource examples for React for a dropdown/multiselect template in a toolbar. I've tried doing a basic local dataSource example to get started and even that isn't working. Can someone help? 

Here is an excerpt from my code of how I define and render the toolbar. The end goal is to replace the dataSource with a remote dataSource.

...

const toolbarOptions = {

items: [

    { template: "<label for='dropdown'>Materials:</label>"},
    {
          template: "<select id='material-dropdown' style='width: 150px;' />",
          dataSource: [{ item: "Item 1", value: 1 }, { item: "Item 2", value: 2 }],
          dataTextField: "item",
          dataValueField: "value",
          overflow: "never"
    }

 ]

}

 

return(

   <div className="toolbar">

         <ToolBar {...toolbarOptions}/>

   </div>

)

...

Stefan
Telerik team
 answered on 15 Nov 2017
3 answers
797 views

When I try logging in using

npm login --registry=https://registry.npm.telerik.com/ --scope=@progress

 

When prompted for my username, I try my account email (which is my username) in the form person@company.com and person%40company.com. In both cases the login fails with the following error message

npm WARN Username may not contain non-url-safe chars

Ianko
Telerik team
 answered on 15 Nov 2017
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
Licensing
ScrollView
Switch
TextArea
BulletChart
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?