Telerik Forums
Kendo UI for jQuery Forum
1 answer
64 views
Hi, testing datasource seem not to recognise json dates in /Date(..) format. Any examples on ways to solve this?
tony
Top achievements
Rank 1
 answered on 15 Aug 2012
0 answers
105 views
I'm pasting some html into an editor using the .paste() method. The html is too long to fit in the editor so a scrollbar is created as I'd expect. However, this scrollbar scrolls to the bottom of the editor and I would like to scroll it back to the top programatically. I have tried .scrollTop(0) but this doesn't work even with the editor set to 'scrollable: true'. Has this feature been implemented or is there a workaround for it at all?
Paul
Top achievements
Rank 1
 asked on 15 Aug 2012
0 answers
176 views
How do I check if the value is null tDtAlteracao within the DataBound? Would you like to do this without setting the field name.

#= kendo.toString(tDtAlteracao,'d') #
  
 $("#" + sNmId).kendoGrid({
        dataBound: function (e) {
            if (this.dataSource.group().length == 0) {
                setTimeout(function () {
                    $(".k-grouping-header").html(jsonResource[0]);
                });
            }
        }
    });

Thanks
Fabricio
Top achievements
Rank 1
 asked on 15 Aug 2012
1 answer
121 views
How can I handle errors, which for example occur on the server side.
I have defined this HierarchicalDataSource:

    var childrenDataSource = new kendo.data.HierarchicalDataSource({
        transport: {
            read: {
                url: function (options) {
                    return kendo.format("../api/hierarchytree/{0}", options.id);
                }
            }
        },
        schema: {
            model: {
                hasChildren: "hasChildren",
                id: "id"
            }
        }
    })
Alex Gyoshev
Telerik team
 answered on 15 Aug 2012
3 answers
103 views
Essentially I want to have an "Empty Data Template" so after my custom binder runs for every row in my table I want to then check the visible count, and perform an action.

So is there an event that fires, or....?

Steve
Petur Subev
Telerik team
 answered on 15 Aug 2012
0 answers
127 views
Hello,

I am using Kendo UI Grid to display a long list of data (10000+). As one of your demos shows, I used virtualization of local data in the grid. But after i changed my datasource later, the grid would not load the rest data automatically while scrolling down. I have tried both ObservableArray and a new DataSource object, but neither works. Please help!!! 

          var newData = createRandomData(10);
            for (var i = 0; i < 10; i++) {
                source.pop();
                source.unshift(newData[i]);
            }
            var newSource = new kendo.data.DataSource({
                data: source,
                pageSize: 10
            });
            var grid = $("#grid").getKendoGrid();
            grid.dataSource = newSource;
            newSource.read();
            grid.refresh();
Wenhao
Top achievements
Rank 1
 asked on 15 Aug 2012
7 answers
218 views
Hi,

Is the validator functionality available for the mobile version too? All the examples are subject to web development and I can't get it working inside my mobile application. 

I keep getting the error 'Object has no method kendoValidator' when executing the following code on a div called login that contains the fields that I want to validate.

<div data-role="view" id="login">
        <h2>Log in</h2>
        <ul data-role="listview" data-style="inset">
            <li>
                <input type="text" style="width:60%" id="emailinput" required/>
                E-mail
            </li>
            <li>
                <input type="password" style="width:60%" id="passwordinput" required />
                Password
            </li>
        </ul>
         <a class="button" data-role="button" data-click="logIn" style="float: right; margin: 1em 1em 0 0 ">Log in</a>
    </div>

$("#login").kendoValidator({
                 messages: {
                   // defines message for the 'custom' validation rule
                   custom: "Please enter valid value for my custom rule",
                   // overrides the built-in message for required rule
                   required: "My custom required message"
                }
             });
Iliana Dyankova
Telerik team
 answered on 15 Aug 2012
1 answer
133 views
I am using combobox and need at a time to redo the ajax call that returned the results to populate the combobox. But with different parameters.

Is there any method to run again this request to update the combobox?
David A.
Top achievements
Rank 1
 answered on 15 Aug 2012
1 answer
98 views
Hi,
i'm trying to fix a code that resets the "end time" minimum value to be half hour more than the "begin time".

var value = $("#begin").data("kendoTimePicker").value();
var end = $("#end").data("kendoTimePicker");
 
                if(value.getHours().toString() == "18" && value.getMinutes().toString() == "30")
                {
                    var minimo = new Date(value.getTime() + 30*60000);                   
                    end.value(minimo);
                    end.enable(false);
                }
                else
                {
                    var minimo = new Date(value.getTime() + 30*60000);
                    end.min(minimo);
                    end.enable(true);
                }

For some reason, the code ends in error because it says that "min is not a function". In the docs it says it is? Is this some kind of bug of some sort?

Don't think it's due to wrong reference because the value function works. Can you help me here?
David Beck
Top achievements
Rank 1
 answered on 15 Aug 2012
1 answer
94 views
Combine the AutoComplete and ComboBox and include features from http://ivaynberg.github.com/select2/
Jonathan
Top achievements
Rank 1
 answered on 14 Aug 2012
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?