Telerik Forums
Kendo UI for jQuery Forum
1 answer
128 views
I have my upload set to be async with the autoupload off.  I have created a list template which adds a dropdown to each of the files to be uploaded.  How can I on upload reference the dropdown for each of the corresponding file uploads and pass that dropdown's value as metadata along with the file.  I know how to attach meta data, but I don't know how to get the current file's, that is being uploaded, container so I can get the correct dropdown value to attach to the metadata.  I have read that the files can upload out of order, so I can't depend on the files being uploaded in a perfect order.  

Thanks,
Joe
Dimiter Madjarov
Telerik team
 answered on 21 Jan 2014
1 answer
198 views
Hello,

the labels of pie/donut chart are not completely shown under certain circumstances. Please see the attached screenshot.
The left label reads 'Verpasst 0%', the right one 'Angenommen 100%'

As a workaround at this time I set left and right margin (according to german text).
Since the text varies according to languages this workaround does not work under all conditions.

Is this a bug and is there another workaround?

TIA
Dirk
Iliana Dyankova
Telerik team
 answered on 21 Jan 2014
3 answers
298 views
I have the following Data Source in my page:

var dsAll = new kendo.data.DataSource({
    serverFiltering: true,
    transport: {
        read: {
            type: 'POST',
            url: '/pages/ajax/page.ashx',
            dataType: 'json',
            data: {
                action: 'model',
                modelname: function () {
                    return $('#txtModelName').val()
                }
            },
            cache: false
        }
    },
    schema: {
        data: function (response) {
            if (response == undefined) {
                $('#spanDateRange').hide();
                $('#gridTrend').hide();
            }
            else {
                console.log('DataSource "dsAll" Bound');
                $('#spanDateRange').show();
                $('#gridTrend').show();
                return response;
            }
        },
        model: {
            fields: {
                TrendModelId: { type: 'number' },
                EOM: { type: 'date' },
                Seg: { type: 'string' },
                LostPriceQty: { type: 'number' },
                LostPriceRev: { type: 'number' },
                LostAvailQty: { type: 'number' },
                LostAvailRev: { type: 'number' }
            }
        }
    }
});
The date is passed to the Data Source in this format '2009-12-31T00:00:00'.

But when I bind to a grid or dropdownlist, the format is a weird 'Thu Dec 31 00:00:00 PST 2009'. Strangely enough, creating a template and using kendo.toString(EOM, "d") does produce '12/31/2009'.  If I bind a dropdownlist to the Data Source the selected value is returned in the weird format, even if I define a valuetemplate.

I need the to date to be in some valid format and I'm not sure how to fix it.


Edit:
Ok after further testing I found that the strange formatting only occurs with IE. But I'm still trying to figure out why the value is returned in that format, rather than in the format I specifiy in the valuetemplate.



Alexander Popov
Telerik team
 answered on 21 Jan 2014
1 answer
163 views
i want to get data from excel file,
And draw  chart using excel data,
Iliana Dyankova
Telerik team
 answered on 21 Jan 2014
3 answers
367 views
hi,
i am struggling to get particular(filter) data from json file ,

i want to filter json data and display chart for that filtered data only,

please any one can help. 
Iliana Dyankova
Telerik team
 answered on 21 Jan 2014
1 answer
50 views
Hello all,

I'm looking for a date/time picker control that functions the same way that the control that is included with the RadControls for Windows 8 does.  Basically I would like the ability to have the user be able to select the Year, Month, Day, etc individually.

I've been through the documentation and I know this isn't possible today, is this something that could possibly be done in the future?

Thanks,

Greg
Kiril Nikolov
Telerik team
 answered on 21 Jan 2014
1 answer
106 views
Hello,
I am trying to create a directory view using the Kendo UI Web Treeview  and the coloricons-sprite.png.  I have the directory view working using Web API, but I cannot find any sample code that shows how to associate a specific icon based on the file extension.  The only samples I have found hard code the values.  Is there a sample that shows how this can be achieved?
Thanks,

Scott



Dimo
Telerik team
 answered on 21 Jan 2014
2 answers
124 views
this is relative to this thread
http://www.kendoui.com/forums/kendo-ui-dataviz/chart/how-to-customise-color-of-bars-in-stock-chart.aspx#boMy966aG2OF1P8AAFTdxQ

i wasnt sure if you saw my response or not
so im repoosting

here is my stock chart code
$J($chartD).kendoStockChart({
    dataSource: wData,
    series: [{
        type: "candlestick",
        openField: "open",
        closeField: "close",
        highField: "high",
        lowField: "low",
        categoryField: "cat",
        colorField: "color",
  
        notes:{
            line: {
                width: 0,
                length: 0
            },
            label: {
                font: "bold 9px Open Sans, sans-serif"
            },
            icon: {
                border: {
                    width: 0
                }
            }
        },
  
        tooltip:{
            format: "{4}:<br /> {0:n0} -> {3:n0}"
        }
    }],
    navigator:{
        visible: false
    },
    categoryAxis:{
        categories: cats,
        type: "category",
        labels: {
            font: "bold 9px Open Sans, sans-serif",
            rotation: 90,
            step: 1,
            skip: 0
        }
    },
    valueAxis: {
        labels: {
            format: "N0"
        }
    }
});
here is a portion of the data as outputted by the console:

[Object, Object, Object, Object, Object, Object, Object, Object]
0: Object
cat: "2009"
close: 6831
color: "#75B5CD"
high: 6831
low: 0
noteText: 6831
open: 0
__proto__: Object
1: Object
cat: "Direct Hire"
close: 9185
color: "#4E503F"
high: 9185
low: 6831
noteText: 2354
open: 6831


however just by adding the colors im now getting a js err:
Uncaught TypeError: Object [object global] has no method 'forEach' 

without all the color stuff the chart works great
but i really want custom colors

can you give me ideas why this is happening
thanks!














Iliana Dyankova
Telerik team
 answered on 21 Jan 2014
1 answer
207 views
Hi,

    I'd like to use the new slotTemplate porperty in daily and veewkly views.

    I have readed documentation and tried some code, but I can't understand how to use scheduler object inside this function. Only the date object.

    e.g. I would like to use the resources, group, etc, defined in the scheduler.

thank you
Vladimir Iliev
Telerik team
 answered on 21 Jan 2014
1 answer
113 views
In the column menu under the filter, the first box is defaulted to "Starts With".  We've found that our users are switching this to "Contains" about 90% of the time.  How to we change the default to be "Contains".

Thanks
Jason
Dimiter Madjarov
Telerik team
 answered on 21 Jan 2014
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?