Telerik Forums
Kendo UI for jQuery Forum
2 answers
195 views
Hi,

I am implementing a kendo upload widget in a web application. In this application, the user will need to upload an excel file that is in a predetermined directory. Is it possible to set the default starting point on the select files dialog box to be in the root of this directory so that they do not have to click down to it? The user may not even have direct access to the directory itself, they may only be able to reach it through this application.

Also, if this is possible, would it be possible to choose a sub directory starting point based on a variable value the user enters into a text box? The directory is pretty large (over 750,000 folders) and any way to narrow down the search for a file will greatly enhance productivity.

Thanks 
JCSCo
Top achievements
Rank 1
 answered on 03 Feb 2015
13 answers
2.1K+ views
I have a datasource bound to a grid. Knowing a specific data item, I would like to select that item in the grid programatically. How can this be done?

Thanks
Rosen
Telerik team
 answered on 03 Feb 2015
1 answer
275 views
We're building grids on the fly, but the output is like this:

<div id="OrcaGrid29" data-bind="kendoGrid: 
    {data: dataSource29, 
        columns: [
            {title: 'Provider Id', field: 'ContextId', hidden: true, headerAttributes: { style: 'white-space: normal' }}
            ,{title: 'Provider Name', field: 'ContextName', width: 150, locked: true, lockable: false, headerAttributes: { style: 'white-space: normal' }}
            ,{title: 'Provider Short Name', field: 'ContextShortName', width: 150, headerAttributes: { style: 'white-space: normal' }}
            ,{title: 'NPI', field: 'm_333_Text', width: 100, headerAttributes: { style: 'white-space: normal' }  }  
...
            ], 
        toolbar: [{name:'save', text: 'Save'}, {name: 'create', text: 'Add Provider'}, {name: 'Help', className: 'FormHelp', text: 'View Help' }], editable: true, pageable: { pageSize: 10 },  navigatable: true, scrollable: true, enabled: enabled }">
</div>

Without trying to lock the column, the grid looks fine (see attached: Grid_Without_Column_Lock.PNG).  With "locked: true" and "lockable: false" on a column or columns, we get output like attachments:  WithColumnLocking_Initial_Page.PNG and WithColumnLocking_After_Paging.PNG.    We really need this feature, so any help would be much appreciated!
 
Thanks,
Bob

Iliana Dyankova
Telerik team
 answered on 03 Feb 2015
4 answers
543 views
Dear Telerik,

We have problems implementing binding to a checkbox in a grid. We believe that we do everything the Kendo way, but it's still not working.

We have made an example were you can see our problem - may be someone in here can see, what we are doing wrong.

What you should do to see the problem: try check one or many items in the select column. Push the button "Show selected items". We have made a alert, that will display the id's that we have selected, but the alert is empty, even that we have bind the column.

Example

http://dojo.telerik.com/AYaTE


Thanks in advance


Peter Beyer
CRM-Byggefakta
Peter Beyer
Top achievements
Rank 1
 answered on 03 Feb 2015
1 answer
67 views
I am trying to add row reordering functionality in  kendoTreeList using kendoSortable.
Whenever i drag and drop row at different position the new arrangement is not as expected.



If I drag TIger below ABC1 then new arrangements should be as below
 meow
Mango
ABC1
TIGER
Orange
Yellow

But it appears as


The row after the desired dragged row appears below the actual dragged row after dropping (reordering)

I am using following code.















Alexander Valchev
Telerik team
 answered on 03 Feb 2015
1 answer
3.5K+ views
Hello,

I don't want either comma or decial for the number I entered. I just want the numer as it is entered by the user. How can I do it ?

$("#Number").kendoNumericTextBox({
            spinners: false           
        });
Georgi Krustev
Telerik team
 answered on 03 Feb 2015
3 answers
1.4K+ views
Hello Everyone,

I can succesfully add a new row by following code :
$("#grid").data("kendoGrid").dataSource.insert(0, {
    id: newId,
    
    titel: newTitel,
    
    creatiedatum: new Date()
});

Now I want to select this new added row programmatically.
Because I add it above, selecting the first record would do the trick.

1) How do I select the first record in the grid?
2) How do I select a new inserted row in the datasource ?

1 answer would be sufficient :)

thx,
Gert

Kiril Nikolov
Telerik team
 answered on 03 Feb 2015
5 answers
117 views
Hi Guys,

Have just tripped over an issue with the display of a dirty record during popup editing, whereby the cell value is not being compiled against the angular scope.

To illustrate I have created the following dojo snippet

    http://dojo.telerik.com/@AlanBell/AvuDA

which takes the 'Grid - AngualrJS' demo and tweaks things to uppercase the City value via a filter.

If you run the snippet and edit a record, when it becomes dirty the underlying grid shows the City value as "{{dataItem.City | uppercase}}" instead of the uppercased data value.

Regards
Alan


Kiril Nikolov
Telerik team
 answered on 03 Feb 2015
2 answers
114 views
Hi Guys,

Have just tripped over an issue whereby the persist state is not being reloaded correctly when using a groupHeaderTemplate to render data.

To replicate the issue run the following dojo snippet which is based on the Persist State demo

      http://dojo.telerik.com/IsISa

- Group by the 'Contact Title' column
    
        Group Header displays 'Grouped By: Accounting Manager' as per the grid options

- Save State

- Load State

        The Group Header reverts to 'Contact Title: Accounting Manager'

Looking at the saved JSON object the groupHeaderTemplate is not recorded and therefore gets deleted when the grid state is reloaded.    

Regards
Alan
AGB
Top achievements
Rank 1
Iron
 answered on 03 Feb 2015
1 answer
166 views
Hi,  I have a problem saving hierarchical grid data using kendo grid. For instance, I will create new record having create new button provided by batch edit. Then expanded the row to add its details. The details also is a grid in which coming from another data source, also with create new button for it. Once I completed my inputs, I don't want to use the save changes button in the sub grid, but instead using the save changes button of the parent grid. But the problem is only the parent row data was recorded. How can I possibly get those sub details manually so that I could set it to the parent details before saving.

Thank you.
Kiril Nikolov
Telerik team
 answered on 03 Feb 2015
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?