Telerik Forums
Kendo UI for jQuery Forum
0 answers
104 views
I would like clicking on a selected node to do the same thing as clicking on an unselected node.
Triggering the "select" event even it its selected would be fine but any other solution
to trigger SOME event if the node is already selected is fine too.
Christopher
Top achievements
Rank 1
 asked on 16 Jun 2012
0 answers
476 views
I added a datepicker control to a grid for edit mode. When the updates, it displays a long format time string. I would like to format the time as a short date string, but I have not found the event to delegate. The code below demonstrates the problem:

            <div id="grid"></div>

            <script language="javascript" type="text/javascript" >

                $(document).ready(function ()
                {

                    $("#grid").kendoGrid({
                        dataSource:
                        {
                            data:
                            [
                                {Employee:"Joe Jones",Dept:"Sales",Job:"Account manager",DateVal:"1/2/2012"},
                                {Employee:"Samantha Smith",Dept:"Marketing",Job:"Design",DateVal:"2/3/2012"}
                            ]
                        },
                        pageable: true,
                        height: 455,
                        filterable: true,
                        sortable: true,
                        scrollable: { virtual: false },
                        selectable: 'row',
                        columns: [
                            { field: "Employee", title: "Employee" },
                            { field: "Dept", title: "Department" },
                            { field: "Job", title: "Job" },
                            {
                                field: "DateVal",
                                title: "Date Hired",
                                editor: function (container, options)
                                {
                                    $('<input id=\"' + options.field + '\" />').appendTo(container)
                                    .kendoDatePicker({ format: "MM/dd/yyyy" });

                                    var datePicker = $("#DateVal").data("kendoDatePicker");
                                    // bind to the close event
                                    datePicker.bind('close', function (e)
                                    {
                                        var datepicker = e.sender.element.kendoDatePicker()
                                        var d = new Date(datepicker.val());
                                    });

                                }
                            },
                            { filterable: false, command: ["edit"], title: "&nbsp;", width: "210px"}],
                        editable: "inline"
                    });

                });

</script>

Click "Edit", then a date from the datepicker control, then look at the resulting time string in the grid.
Sorry if I posted this in the wrong forum before.
John
Top achievements
Rank 1
 asked on 15 Jun 2012
0 answers
63 views

I created a datepicker column in the grid for edit mode. It works, but when the grid gets the date from the datepicker, the time string is in long format. I would like to be able to change this to a short date, but I have not been able to determine how to intercept the update. Past the code below into a page to see what happens. How can I change the date format in the grid to show a short date after editing? Thanks.

           <div id="grid"></div>

            <script language="javascript" type="text/javascript" >

                $(document).ready(function ()
                {

                    $("#grid").kendoGrid({
                        dataSource:
                        {
                            data:
                            [
                                {Employee:"Joe Jones",Dept:"Sales",Job:"Account manager",DateVal:"1/2/2012"},
                                {Employee:"Samantha Smith",Dept:"Marketing",Job:"Design",DateVal:"2/3/2012"}
                            ]
                        },
                        pageable: true,
                        height: 455,
                        filterable: true,
                        sortable: true,
                        scrollable: { virtual: false },
                        selectable: 'row',
                        columns: [
                            { field: "Employee", title: "Employee" },
                            { field: "Dept", title: "Department" },
                            { field: "Job", title: "Job" },
                            {
                                field: "DateVal",
                                title: "Date Hired",
                                editor: function (container, options)
                                {
                                    $('<input id=\"' + options.field + '\" />').appendTo(container)
                                    .kendoDatePicker({ format: "MM/dd/yyyy" });

                                    var datePicker = $("#DateVal").data("kendoDatePicker");
                                    // bind to the close event
                                    datePicker.bind('close', function (e)
                                    {
                                       // See what the datepicker is returning:
                                        var datepicker = e.sender.element.kendoDatePicker()
                                        var d = new Date(datepicker.val());
                                    });

                                }
                            },
                            { filterable: false, command: ["edit"], title: "&nbsp;", width: "210px"}],
                        editable: "inline"
                    });

                });
</script>

John
Top achievements
Rank 1
 asked on 15 Jun 2012
4 answers
130 views
First I want to say I really like kendo so far in my testing, great job!
I couldn't find a more appropriate place to post this so here goes.

Due to the newness of kendo, I am finding myself searching your forums for people with similar problems often.
Is it just me or is it very difficult to navigate?

There is a search option top of page but it searches every category of every forum, blog, doc and video... kind of hard to sift through unless I am missing some kind of option to narrow it down... I see the option to narrow to forums only but you still get 6 per page of tons and tons of matches.

Go into the grid forum and search for "filters" and you get    1 – 6 of 421 results    basically at that point I say forget it :).  I would suggest maybe consider tags or groups, like if I posted about grid filters, I would tag it about "filters", maybe a multiple choice of available topics from the api to choose from?? That way you click on forums>grid>filters and you get probably 25 results not 421... just offering feedback and suggestions.

Seems like every other dev package you guys offer like wpf and asp.net and others have separated searchable documentation and forums but kendo is completely different and more difficult and lacking documentation imho?
Dr.YSG
Top achievements
Rank 2
 answered on 15 Jun 2012
1 answer
103 views
We're currently using Telerik controls for ASP.NET AJAX.

In our application, we have a grid that addresses certain part numbers that have 2 related rows.  They are grouped together in the grid, and it looks as below:
____________________________
|Part Number   |HasProperty  |Price |
----------------------------------------------
                |             Yes           |  1.00 |
Part #1    |  --------------------------------
               |               No            |   2.00 |
------------------------------------------------

Is this type of this possible with the Kendo UI grid?
Iliana Dyankova
Telerik team
 answered on 15 Jun 2012
0 answers
88 views
Does the Grid not have a default for an emopty datasource - I was expecting it to say something like no results found.
Gregor
Top achievements
Rank 1
 asked on 15 Jun 2012
2 answers
387 views
I have the following dataSource that I retrieve from a json file:
[
    {
    "Name": "Company 1",
    "People": [{
        "Person": {
            "Name": "Jon",
            "Job": "IT Guy"
        }},
    {
        "Person": {
            "Name": "Kate",
            "Job": "Web Developeresse"
        }}]},
{
    "Name": "Company 2",
    "People": [{
        "Person": {
            "Name": "Jane",
            "Job": "IT Girl"
        }},
    {
        "Person": {
            "Name": "Karl",
            "Job": "Web Developer"
        }}]}
]

My goal:

Display a list of companies' names in a mobile list view.
When you select a company, it should change views and display a mobile list view of the selected company's people's names.

I can get the first list view to show up and on the click event I can navigate to a new view. How should I approach the second list view? 

Can I use a view model to do this? Can you bind the mobile list view's dataSource to the viewModel? 

I've created this jsFiddle to ask whether this would be the correct method of doing this: http://jsfiddle.net/RodEsp/p9UQW/
RodEsp
Top achievements
Rank 2
 answered on 15 Jun 2012
7 answers
391 views
Hello KendoUI team:
 I'm loading a great amount of data (about 1 thousand rows) in a kendogrid but i want to right align a numeric field.
Would you please provide a sample of how to do this? Could your virtualization of remote data sample get the Order Id right aligned?
I'm having problems with this if I use a jQuery function to rigth align my numeric cell of each row in my kendo grid.
(Paging is not an option for me.)

Any help will be appreciated.

Sincerely,
Oscar. 
Dimo
Telerik team
 answered on 15 Jun 2012
1 answer
141 views
Hi,

I have recently started evaluating Kendo UI as a potential framework for number of projects we have. One of the requirements is to be able to have multiple images in a cell. I understand how single images can be mapped to a column using templates but does Kendo UI have a support for dynamically populated image containers, which could be inserted in a grid?

Thanks.
Iliana Dyankova
Telerik team
 answered on 15 Jun 2012
1 answer
219 views
I have data that is in minutes, but I want to display the tooltip in hours and minutes. For example, if value was 200, the displayed tooltip would be "3 hours 20 minutes". 

I know I can use the templates to display a custom tooltip that is made up of the value and text, but I need to do more manipulation of the value to make it more friendly.

Thanks

Rik
Iliana Dyankova
Telerik team
 answered on 15 Jun 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?