Telerik Forums
Kendo UI for jQuery Forum
1 answer
140 views
Would it be possible to do resource grouping below the dates?

In the example shown here:

http://demos.telerik.com/aspnet-mvc/scheduler/resources-grouping-horizontal


It goes

Resource 1                                             |    Resource 2
Day 1   Day2  Day 3   Day 4   Day 5      |   Day 1   Day2  Day 3   Day 4   Day 5

but I would think ideally I'd be able to do


Day 1                                                     |    Day 2
Resource 1            Resource 2             |  Resource 1        Resource 2

If you imagine the scenario where you want to schedule a resource on Day 1, it's a lot more convenient to look in the single column rather than going back and forth.



Vladimir Iliev
Telerik team
 answered on 17 Sep 2014
3 answers
480 views
I have some layout issues using kendoui an bootstrap 3, i am using bootstrap theme but my generated MVC views are as this picture.

 https://dl.dropboxusercontent.com/u/43265433/Captura%20de%20tela%202014-09-16%2000.19.26.png

How can i have the compatibility.

Thanks
Gilberto
Top achievements
Rank 1
 answered on 17 Sep 2014
1 answer
110 views
I'm trying for format the numbers in my grid pager to have commas if necessary.

Relevant snippet:

pageable: {
    pageSizes: [10, 25, 50, 100],
    messages: { display: "{0} - #=kendo.toString({1}, 'n0')# of #=kendo.toString({2}, 'n0')#" },
},

The above doesn't work, it just renders the string as-is, replacing the curly-bracketed values with the appropriate ones from the database but not actually executing the formatting aspect. Any guidance on how to format the numbers?
Rachael
Top achievements
Rank 1
 answered on 17 Sep 2014
1 answer
398 views
I want to implement an Outlook / email style control when attaching files.  I need to override the Filebrowser event to NOT insert a link to the document, I just need to know the ID of the document so I can store it separately.  Is there any way to do this?  I don't see any events for File / image browsers.

Thanks.
Dimo
Telerik team
 answered on 17 Sep 2014
2 answers
324 views
1. I configured filters for grid but after changing language there are not translated. How to use messages from kendo.messages.xx-XX.min.js files in such setup:
filterable :{
            extra: false,
            operators: {
                string: {
                    contains: 'Contains',
                    eq: 'Is equal',
                    neq: 'Is not equal'
                },
                date: {
                    lte: 'To',
                    gte: 'From'
                },
                number: {
                    eq: 'Is equal',
                    neq: 'Is not equal',
                    gt: 'Greater then',
                    gte: 'Greater then or equal',
                    lt: 'Less then',
                    lte: 'Less then or equal'
                }
            }
        },

2. I use $translateProvider in AngularJS for translations and tried to setup in config also kendo.culture("en-GB"); but it doesn't work. How to setup translations for AngularJS with ability to change dynamically to be consistent with $translate service if needed 

Alexander Valchev
Telerik team
 answered on 17 Sep 2014
0 answers
110 views

I have a Master Grid/Detail Grid both containing information that compose a record of "Movements". 

The problem comes when I need to add a new record because the primary key of the record is part on the Master "Header" Row and part on the Detail Row. 

  • Due to Business requirements batch updates are mandatory.

Changing the functionality of the Detail Row onSave() and taking the values of the Master row (that can't be saved yet) seems like an odd approach.

Thanks in advanced,

D.

 

Daniel
Top achievements
Rank 1
 asked on 17 Sep 2014
4 answers
376 views
I've implemented the new filter row, quite nice by the way, but I'm having some difficulty formatting a number type column.

There are 2 things I'd like to do:
1. Format the number with no decimal places like, format: "{0:n0}". This works for the data but not the filter row. After I tab off it adds a decimal and 2 trailing 0's
2. Remove the spinners in the number type column filters.

I've tried something like  below but I can't get it to work.

          filterable: {
                                   cell: {
                                       format: "{0:n0}",
                                       template: noSpinner
                                   }
                               }   
...
function noSpinner() {
     var g = $("#grid").data("kendoGrid");
     var fRow = g.thead.find("tr[class=k-filter-row]")
     // i dont know what to do here to remove the spinners
}







Alexander Popov
Telerik team
 answered on 17 Sep 2014
1 answer
888 views
I have the following scenario:

I have a kendo ui grid in an iframe in an iframe and I'm trying to access it from the parent. I get to the grid alright but .data("kendoGrid") is undefined there. Do I have to do something special to access the grid data or datasource from outside the actual iframe and what?
Kiril Nikolov
Telerik team
 answered on 17 Sep 2014
1 answer
207 views
Any idea on how I can email reports with kendo charts in it? Or create PDF exports?
Hristo Germanov
Telerik team
 answered on 17 Sep 2014
4 answers
597 views
I have a grid within a tab strip control.    Each tab represents a set of information in a specific language.
The name of each grid is dynamically generated based on the language.  ex. ProductInfo_EN , ProductInfo_ES, etc etc

Within the grid I have an editor template defined that contains a dropdownlist.  I am editing the grid InLine.

I need to obtain the name of the parent grid from within the editor template so that I can then access cells within the grid for parameters in the loading of the dropdownlist.

I am having trouble determining the name of the parent grid (see below).   Everything works fine when I hardcode the name ... but of course that will only work for one language.   Any ideas?

<script type="text/javascript">
    function sendMasterData() {

        var rowID = $("[name=GridRowID]").val();
        var model = $(event.srcElement).closest("[data-role=grid]").data("kendoGrid").dataSource.get(rowID);

        return  {
            countrycode: model.ProductData.Country,
            lang: model.ProductData.Language,
            GlobalFieldName: model.ProductData.FieldName,
            MDTableName: model.ProductData.MasterDataTableName
        };
    }

</script>
@model NewGlobalProductCatalogue.Models.ProductInfo
@(Html.Kendo().DropDownListFor(p => p.ProductData.ProductValue)
.Name("ProductData.ProductValue.MasterDataID")
.DataValueField("MasterDataID")
.DataTextField("MasterDataText")
.DataSource(d => d
       .Read(r => r.Action("Index", "MasterDataSelection").Data("sendMasterData").Type(HttpVerbs.Post))

)
.Events(e => e.Change("ChangeMasterData"))
.AutoBind(false)
.SelectedIndex(0)


It is the clause $(event.srcElement).closest("[data-role=grid]")   that is giving me trouble.

If I just go $("#ProductInfo_EN").data("kendoGrid").dataSource.get(rowID);   It all works fine ... but of course this is useless for any other grid except the English one.

Any suggestions would be appreciated.

-Sheldon
Kiril Nikolov
Telerik team
 answered on 17 Sep 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
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?