Telerik Forums
Kendo UI for jQuery Forum
3 answers
117 views

Hi,

I am using the trial edition of the Kendo UI products and I'm working on a scheduler proof of concept.

I've reviewed numerous items in this knowledge base and on the common issues site and I still am unable to get any scheduler events from my api to show on the scheduler. I'm attaching my .html document and the results of my api service call from the browser. I have compared the date formatting to this data from your samples (https://demos.telerik.com/kendo-ui/service/meetings) and I don't see any differences related to the date formatting. I have also tried formatting the date in these formats being returned by the api - yyyy-MM-ddThh:mm:ssZ, yyyy/MM/dd hh:mm:ss AM/PM with no luck.

I can get my resources to appear on the scheduler ok and as you will see in my .html file that I can create an event associated to one of the resources with no problem when I manually create the event in the datasource.

Gary
Top achievements
Rank 1
 answered on 15 Feb 2017
3 answers
70 views

Hello,

I have Scheduler in boostrap tab component. I have two tabs 1 -with scheduler, 2 -with action which can add new events to it by interaction with dataSource.

I discovered that when I'm in second tab and add new event to calendar then calendar refreshes incorrectly. Snippet in DOJO presents this

http://dojo.telerik.com/ISEbUr/3

Ivan Danchev
Telerik team
 answered on 15 Feb 2017
4 answers
1.9K+ views
I have a requirement which has a drop down menu inside each row of the kendo ui grid. Specifically, when user click a button inside a cell of each row of the grid, a pull down menu will open.

I used twitter bootstrap drop down for this pull down menu. However the pull down menu is hidden behind the  cell and would only show the area within bounds of the cell. I need to the pull down menu to be the top floating div on top of the grid. 

I tried to set z-index to a large number like 9999, but didn't seem to have an effect. I used a regular div instead of twitter bootstrap. The same thing happened. The div is hidden.

I think it is something to do with the grid not allowing cell content to be larger and popped out on the grid.

Here is my code snippet if it helps:

<div id="gridCounterOffers" style="z-index: 1;">
</div>

<script id="actionCounterTemplate" type="text/x-kendo-tmpl">  
     <div class="btn-group" style="z-index: 5;">
                <button class="btn btn-mini btn-danger">
                    Counter Offer</button>
                <button class="btn btn-mini  btn-danger dropdown-toggle" data-toggle="dropdown">
                    <span class="caret"></span>
                </button>
                <div class="dropdown-menu action-menu pricing-menu" style="z-index: 99999; border: 1px solid red">
                    <a class="close">×</a>
                    <label style="text-align: left; font-weight: bold" class="spacer">
                        Price Per Carat:
                    </label>
                    <input type="number" min="0" max="1000000" step="10" style="width: 150px" />
                    <table class="table table-striped spacer">
                        <tr>
                            <th>
                                Price Per Carat *
                            </th>
                            <th>
                                Weight
                            </th>
                        </tr>
                        <tr>
                            <td>
                                <span id="lblNewPricePerCarat"></span>
                            </td>
                            <td>
                                <span id="lblWeight"></span>
                            </td>
                        </tr>
                    </table>
                    <span style="font-weight: bold">Price Total =</span><span id="lblNewPriceTotal"></span>
                    <label style="text-align: left" class="spacer">
                        Please Enter Note Below:
                    </label>
                    <textarea rows="2" cols="400" id="txtPricingNote" style="width: 200px"></textarea>
                    <div class="control-group">
                        <button type="submit" class="btn btn-mini btn-action">
                            Submit</button>
                    </div>
                </div>
            </div>
</script>


        $("#gridCounterOffers").kendoGrid({
            dataSource: {
                transport: {
                    read: {
                        url: "/Product/GetCounterOffers/",
                        contentType: "application/json",
                        type: "GET"
                    }
                },
                schema: {
                    parse: function (response) {
                        console.log('parse');
                        $.each(response, function (idx, elem) {
                            elem.CreateDate = moment(elem.CreateDate).format('MM/DD/YYYY h:mm a');
                        });
                        return response;
                    }
                }
            },
            height: 500,
            scrollable: false,
            sortable: true,
            filterable: false,
            reorderable: true,
            columnMenu: false,
            pageable: {
                pageSize: 10,
                input: true,
                numeric: true,
                pageSizes: true,
                refresh: true
            },
            messages: {
                empty: "There are no counter offers at this time. Please check back later."
            },
            columns: [
                { field: "PreviewImageFileName", title: "Sample", template: "<img src='@Constants.PRODUCT_IMAGE_FOLDER#= PreviewImageFileName #' style='width:50px; height:50px;' title='#= PreviewImageFileName #' />", width: "50px", sortable: false, filterable: false },
                { field: "ProductID", title: "Item ID", template: "<a href='/Product/'>#= ProductID #</a>", width: "30px", sortable: true, filterable: true },
                { field: "PricePerCarat", title: "Price Per Carat", template: '#= kendo.toString(PricePerCarat, "n2") # ', width: "50px", sortable: true, filterable: true },
                { field: "PriceTotal", title: "Price Total", template: '#= kendo.toString(PriceTotal, "n2") # ', width: "50px", sortable: true, filterable: true },
                { field: "CreateByUserName", title: "By", width: "50px", sortable: true, filterable: true },
                { field: "CreateDate", title: "Date", width: "100px", sortable: true, filterable: true },
                { title: "Accept", template:kendo.template($("#actionAcceptTemplate").html()), width: "50px", },
                { title: "Counter Offer", template:kendo.template($("#actionCounterTemplate").html()), width: "100px"}
                ]
        }); //kendogrid
Nicolas
Top achievements
Rank 1
 answered on 15 Feb 2017
1 answer
136 views

I'm using the Editor and the Immutables functionality.

When I'm editing a document in the Editor that contains Immutables in Internet Explorer and I 'Undo' (Ctrl + Z) something the formatting of the immutable content is messed up or disappears completely.This works fine in Chrome but not in Internet Explorer.

If you want to test use this Kendo demo in Internet Explorer

http://demos.telerik.com/kendo-ui/editor/immutable-elements

Now select some text in the example and Bold it using the editor bold command. Now undo (Ctrl + z). The Immutable fields disappear!!

Any help appreciated Telerik

 

Nencho
Telerik team
 answered on 15 Feb 2017
13 answers
475 views

Hi, version kendo ui 2016.3.1118, using Russian localization (Turkish works equally) the setting:

.Filterable(filterable => filterable
        .Extra(false)
        .Operators(operators => operators
            .ForString(str => str.Clear()
                .StartsWith("Starts with")
                .IsEqualTo("Is equal to")
                .IsNotEqualTo("Is not equal to")
            ))
        )

simply does not work, instead of the three operators (specified in settings) displays all.  If you include the localization of the default(en-EN) is all works.
Full Code:

bundles.Add(new ScriptBundle("~/bundles/kendoJs").Include("~/Scripts/kendo/2016.3.1118/kendo.all.min.js")
                                                             .Include("~/Scripts/kendo/2016.3.1118/kendo.aspnetmvc.min.js")
                                                             .Include("~/Scripts/kendo/2016.3.1118/cultures/kendo.culture.ru-RU.min.js"));
<system.web>
    <globalizationculture="ru-Ru" uiCulture="ru-Ru" />
</system.web>
kendo.culture("ru-RU");
 @(Html.Kendo().Grid<CertificateDeath>()
    .Name("Grid")
    .Columns(columns =>  {
       columns.Bound(e => e.Name).Width(200);
        columns.Bound(e => e.NameShort).Width(350);
    })
    .Filterable(filterable => filterable
        .Extra(false)
        .Operators(operators => operators
            .ForString(str => str.Clear()
                .StartsWith("Starts with")
                .IsEqualTo("Is equal to")
                .IsNotEqualTo("Is not equal to")
            ))
        )
    .DataSource(dataSource => dataSource
        .Ajax()
        .Read(read => read.Action("List", "CertificateDeath"))
     )
    )
I would be grateful for any help.

Sergey
Top achievements
Rank 1
 answered on 15 Feb 2017
18 answers
1.7K+ views

Kendo grid does not export to excel with cell borders, someone has a solution ? Follow my code:

 .Events(x => x.ExcelExport("excelExport"))

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

var sheet = e.workbook.sheets[0];

            for (var i = 0; i < sheet.rows.length; i++) {              
                sheet.rows[0].cells[0].background = "#ffffff";
                sheet.rows[0].cells[1].background = "#ffffff";
                sheet.rows[0].cells[2].background = "#ffffff";
                sheet.rows[0].cells[3].background = "#ffffff";

                for (var ci = 1; ci < sheet.rows[i].cells.length; ci++) {
                    sheet.rows[i].cells[ci].color = "black";

                    sheet.rows[i].cells[ci].border = "black"; // HERE

                }

 }
  </script>

Mark
Top achievements
Rank 1
 answered on 15 Feb 2017
1 answer
145 views

Hi, I'm using a spreadsheet inside a kendo window. We have some columns with validation on them (type is set to 'reject'). So when the user tries to type something into this column, we get the reject window, however, its z-index is behind the Window the user is using. Is there a way to differentiate this reject window (we have 15 kendo windows) on the screen already?

Spreadsheet is attached, to show the reject window appearing partially behind the current window.

Nencho
Telerik team
 answered on 15 Feb 2017
8 answers
484 views
We've been pleased with the LESS support that Kendo UI provides with its themes. However, we want to move away from LESS to either SCSS or SASS. Are there any plans to provide themes in either of these formats soon?
Stefan
Telerik team
 answered on 15 Feb 2017
1 answer
2.5K+ views

Hi, Is there a way to fire the clear method of a kendo multiselect via a button click? I have ten multiselects, and need a way to quickly clear them all.

Thanks

Marc

Marc
Top achievements
Rank 1
 answered on 15 Feb 2017
6 answers
529 views
I would like to set the default option to OR instead of AND with extra is set to True.  How can I do that in Kendo UI MVC?
Freddy
Top achievements
Rank 1
 answered on 14 Feb 2017
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?