Telerik Forums
Kendo UI for jQuery Forum
6 answers
132 views
I have Kendo Grid using Heirarcy as image shows below. I double checked my CSS declarations and I couldn't find any selector of which could affect my grid styles. Why my grid row text color is black and text size is that big? I made some comparison between your grid demos and my grid and look & feel is different.
Browser developer tools shows me computed styles and there is black color for grid text. Where is that coming from?
ICT
Top achievements
Rank 1
 answered on 06 Nov 2013
1 answer
85 views
I am using an ObservableArray, and when I push in an Item object it wraps all the fields, which is fine except one it can't handle and it renders it useless. Can I prevent a field from being wrapped?

Rosen
Telerik team
 answered on 06 Nov 2013
3 answers
177 views
We are trying to basically and literally group data in a data source like you can do with SQL when selecting against a table.

So I get data that looks like the following:

var grid = $("#grid").kendoGrid({
    dataSource: {
        data: [
            {f1: "1", f2:"2", f3:"3", f4:"4", f5:"5", f6: "1"},
            {f1: "1", f2:"2", f3:"3", f4:"4", f5:"5", f6: "3"},
            {f1: "1", f2:"2", f3:"3", f4:"6", f5:"7", f6: "2"},
            {f1: "1", f2:"2", f3:"3", f4:"6", f5:"7", f6: "1"},
            {f1: "1", f2:"2", f3:"3", f4:"6", f5:"5", f6: "2"}
        ]},
}).data("kendoGrid");

We want to group by f1, f2, f3, f4 and sum on f6.

The result when we show this data in a grid or list view should be that the data source has only 2 rows in it

            {f1: "1", f2:"2", f3:"3", f4:"4", sum: "4"},
            {f1: "1", f2:"2", f3:"3", f4:"6", sum: "5"},

We do not want group header and so forth, just to literally group the data.

How can I accomplish this?
Kiril Nikolov
Telerik team
 answered on 06 Nov 2013
1 answer
1.0K+ views
I have defined editable as:
editable: {
    mode: "inline",
    update: false,
    destroy: false
},


my column as:
command: [
    {
        name: "edit",
        text: {
            edit: " ",
            update: " ",
            cancel: " "
        },
        click: clickEdit
    },
I want to tie into when the "cancel" button is clicked but I have not found a way.  Tying to the grids "cancel" event never fires . This seems odd because the "edit" and "save" events do fire as expect...just not the cancel.

Technically I need to run code every time the grid goes into edit mode, and every time the grid leaves edit mode. Is there another way besides the grid events? Why isn't the cancel event firing? Can I attach to the cancel click like the edit click? If so how.

On another note, can you prevent a row from leaving edit mode?
Alexander Valchev
Telerik team
 answered on 06 Nov 2013
1 answer
87 views
Hi,
template for collection update only for first push.
Click add button and only first time template rerender.
http://jsfiddle.net/gDVwS/1/

Thank
Alexander Valchev
Telerik team
 answered on 06 Nov 2013
3 answers
325 views
I need to display a tool tip over every date picker in my system
The tooltip displays the date in a Hebrew notation 
Therefor I need to set the content of the tooltip dynamically as a function of the date picker value

I tried setting a dynamic content to a tooltip but failed. It looks like the content is set on first display.

1.  Please see my code. What am I Doing wrong?
2.  Is there a way to attach the tooltip to the date picker instead of its “input” element?
3.  How can I extend this behavior to all date pickers not having to rewrite this code

<div id="tooltip" class="k-rtl" style="width:150px;border:1px solid red">
            <input id="datepicker" value="10/10/2011" style="width:150px;" />
 </div>
 <script>

        $(document).ready(function() {
            dp = $("#datepicker").kendoDatePicker({});
            var tooltip = $("#tooltip").kendoTooltip({
                 animation: {
                   close: {
                        effects: "fade:out",
                        duration: 500
                   },
                    open:{
                       effects: "fade:in",
                       duration: 500
                    }
                },

                autoHide: true,       
                showAfter: 1000,
               position: "left",               
                filter: "input",
               width: 300,       
               content: function (e) { return dp.data("kendoDatePicker").value() }
            }).data("kendoTooltip");

            //this row doesnt help  
             dp.change= function(){tooltip.content( dp.data("kendoDatePicker").value())}
        });

        //this row does alert the correct value        
         $(document).dblclick(function () { alert(dp.data("kendoDatePicker").value()) });

    </script>
Dimo
Telerik team
 answered on 06 Nov 2013
6 answers
49 views
*EDIT* The title should be "Remote view reloaded and added to DOM on each visit" but I can't edit the post title.

I am currently experiencing some dreadful behavior where each time I navigate to a remote view the entire contents are re-requested and added to the DOM. I am working on an app with several remote views and each time I transition from one to the other and back the state is lost because the entire contents are added to the DOM again (rather than just showing the view that was already loaded). 

I am using both app.navigate("path.to.remote.view"); and <a href="path.to.remote.view"> and the behavior is exhibited in both cases. I have no request params, the urls are identical each time.

I am guessing there is something fundamental and simple at the root, but I can't resolve this issue.

Thanks
Kiril Nikolov
Telerik team
 answered on 06 Nov 2013
2 answers
131 views
Hello

This is a very simple question. How can I get the max value from the Y-Axis on a bar chart?
I found a solution on the forum that say I could use chart._plotArea.valueAxis.range().max, but it returns 1.2 and the max value is 14. (See the image)

-Casper
Casper
Top achievements
Rank 1
 answered on 06 Nov 2013
2 answers
56 views
Hi Guys,

I have found a weird behavior on iPad2/iOS7 on Landscape only: the bottom of the tabstrip is cropped. See screenshot attached.
Live URL is:
http://www.semiconductorconnect.org/kendo/

However: when you switch from Landscape to Portrait: the tabstrip is displayed properly.

Regards.
Chris @ Willows Consulting Ltd.
Top achievements
Rank 1
 answered on 06 Nov 2013
4 answers
441 views
Please help me How Can i drag and drop Items ( multiple ) from one Listview to another
nasir
Top achievements
Rank 1
 answered on 06 Nov 2013
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
Iron
Iron
Sergii
Top achievements
Rank 1
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
Iron
Iron
Sergii
Top achievements
Rank 1
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?