Telerik Forums
Kendo UI for jQuery Forum
10 answers
1.1K+ views
Is there any way to programmatically scroll the listview to the top?
I have a listview where I change the contents dynamically and afterwards I would like to scroll to top.
Ryan
Top achievements
Rank 1
 answered on 22 May 2013
1 answer
500 views
In  my case of Kendo grid, datasource is from JSON data. and part of data feed is like following:
"User": {
...
"FirstName": "Joe",
"LastName": "Doe",
"Phone": null,
...
}

And I need to display full name  in column of "Name" in kendo grid
  columns: [
                { field: "User.FirstName+' '+ User.LastName", title: "Name"},
                ...
   ]
and I also set sortable to be true for this grid. And that works well, the grid shows cell as "Joe Doe"

However, the grid doesn't sort by "Name" column and when I tried to click header of column "Name",  it returns error on kendo.core.min.js 
"(function($,undefined){function Class(){}function compilePart(e,t){if(t)return"'"+e.split("'").join("\\'").split('\\"')......."

Could you let me know where I did wrong? Thanks,


Dimo
Telerik team
 answered on 22 May 2013
1 answer
147 views
I am looking for an example of using Kedo Upload, and placing the file/metada in an ODATA data service.

Ideally I would like to relate it to another parent record as well.

Thanks in advance.


T. Tsonev
Telerik team
 answered on 22 May 2013
2 answers
120 views
Hi! I have a problem with iPhone 5 scrolling -- in the simulator after a couple of minutes, I can't scroll. On an iPhone 5, it stops scrolling immediately when the job list loads.

Am I loading the list in a way that could cause it to stop scrolling (show vs init)? Should I scrollview instead of listview? Anyone else having this issue? Is there a fix?

Gist of example

All of the buttons in the layout work perfectly fine, and you can click / tap on the items in the jobsList -- but you just can't scroll the jobslist.
Alexander Valchev
Telerik team
 answered on 22 May 2013
5 answers
270 views
Hello,
I wonder if it's possible to have the Navbar parent element with transparent background like the attachment.

Cristiano
Kamen Bundev
Telerik team
 answered on 22 May 2013
1 answer
401 views
This may be trivial but I tried many ways and just cannot get it right. I have 2 situations where I populate a grid: 
1. I filled the grid from the contents of a table similar to one of the demos.
2. I populate a grid by starting from an empty grid which I populate with data including cells which has an autocomplete editor as well.

I tried different variations of the CRUD example but it seems that if you do not have a read statement in transport the update do not work.

I want to save the contents of the whole grid to a mysql database by using php. Is there an example that I missed or how can this be done?
Vladimir Iliev
Telerik team
 answered on 22 May 2013
1 answer
245 views
In the main grid , I have specified the ClientDetailTemplateId("Temptemplate")

<script id="Temptemplate" type="text/kendo-tmpl">

                    @(Html.Kendo().Grid<NIMROD.Models.Test>()
                        .Name("Testid#")
                        .Columns(columns =>
                        {
                            columns.Bound(o => o.test1).Title("Test");
                            columns.Bound(o => o.test1Qty).HtmlAttributes(new { style = "text-align:right" });
                            columns.Bound(o => o.test2Qty).HtmlAttributes(new { style = "text-align:right" });
                           
                        })

                         .Editable(ed => ed.Mode(GridEditMode.InCell))
                         .Selectable(sel => sel.Mode(GridSelectionMode.Single))                       
                         .Events(ev =>{
                                         ev.Edit("edit");    
                                      })
                         .DataSource(dataSource => dataSource
                                    .Ajax()
                                    .Batch(true)
                                    .Read(read => read.Action("details", "Order"))
                                    .Update("UKEditPhaseReviewDrops", "Order")
                                    .Model(model => { model.Id(p => p.id); })
                                    .Events(ev => {
                                                   ev.RequestEnd("oncomplete");   
                                                   ev.Error("error_handler");  } )
                                    )
                                     .Events(ev =>{
                                         ev.Edit("onPhaseReviewedit");    
                                      })
                         
                         .Events(ev => ev.Save("onsave"))
                         .ToClientTemplate())    
</script>


Our requirement test1qty & test2qty cell should be editable or readonly based on condition .
Validation should be done for each cell by calling the action result ,Validation message should be displayed as javascript alert

Thanks In Advance
Petur Subev
Telerik team
 answered on 22 May 2013
7 answers
186 views
We are using standard html radio button control <input type="radio".../> and cannot get it to style correctly on the android stock browser.  It looks fine on ipad but just renders as a gray dot on a Samsung Galaxy SII stock android browser so cannot tell which radio button is "checked".  It works okay in Chrome on the Android.  Can you help us with the styling here?

Thx...Bob Baldwin
Trabon Solutions
Petyo
Telerik team
 answered on 22 May 2013
2 answers
329 views
I have a bunch of pages that share a navigation template and common viewModel navigation properties that can be bound to a particular entity ID being passed between pages.

Doesn't really matter if I haven't explained that too well but bottom line is the properties are pretty much identical for each viewModel apart from an ID tagged on the end of a URL string

Along the lines of this post regarding Knockout ...

http://stackoverflow.com/questions/16569810/knockout-viewmodel-base-class-javascript-inheritance

is it possible to in the Kendo framework to implement a baseViewModel that other viewModels can inherit from?



Darryl
Top achievements
Rank 1
 answered on 22 May 2013
2 answers
1.2K+ views
hello.  currently the number in my tooltip looks like this "$ 1234567" but how do i make it look like "$ 1,234,567"?
$J("#chart").kendoChart({
    dataSource: {
        data:source,
        group: {
            field: "MDetail",
            dir: "asc"
        },
        sort: {
            field: "Month",
            dir: "asc"
        }
    },
    theme: "blueOpal",
    title: {
        text: "Total Cost of Workforce for " + year
    },
    legend: {
        position: "bottom"
    },
    seriesDefaults: {
        type: "area",
        format: "${0:0,000}"
    },
    series: [{
        field: "Amount",
        groupNameTemplate: "#= group.value # "
    }],
    valueAxis: {
        labels: {
            template: "#= kendo.format('$ {0:N0}', value / 1000000) # M"
        },
        majorUnit: 100000000,
        line: {
            visible: false
        },
        axisCrossingValue: -10
    },
    categoryAxis: {
        field: "Month",
        majorGridLines: {
            visible: false
        }
    },
    tooltip: {
        visible: true,
        format: "$ {0:0,000}"
    }
});
toy
Top achievements
Rank 1
 answered on 21 May 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
Drag and Drop
Map
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?