Telerik Forums
Kendo UI for jQuery Forum
6 answers
244 views

Hi, I have defined a grid inside a tabstrip. Everything is fine with all the grids, but couple of them that started to display the header underneath the bottom. This does not happen on Edge. The rendered HTML shows the Header at the button of the grid content so I have the results displayed but the header isn't showing at the top. The web app is developed with .NET Core 2.2. 

This is the grid code:

$("#priceChangeAnalysisGrid").kendoGrid({
                                        dataSource: {
                                            transport: {
                                                read: priceChangeAnalysisUrl + "?priceListId=" + priceListId + "&thresholdValue=" + thresholdValue
                                            },
                                            pageSize: 10
                                        },
                                        sortable: true,
                                        pageable: {
                                            refresh: true,
                                            pageSizes: true,
                                            buttonCount: 10
                                        },
                                        scrollable: false,
                                        columns: [
                                            {
                                                field: "ProductCode",
                                                title: "Merchant Product Code",
                                                width: 200
                                            }, {
                                                field: "ProductDescription",
                                                title: "Merchant Product Description",
                                                attributes: {
                                                    style: "font",
                                                    style: "text-align: left;"
                                                }
                                            }, {
                                                field: "UnitOfMeasure",
                                                title: "Unit of Measure",
                                                attributes: {
                                                    style: "font",
                                                    style: "text-align: let;"
                                                },
                                                width: 200
                                            }, {
                                                field: "Change",
                                                title: "Change",
                                                width: 450
                                            }, {
                                                field: "ExistingUnitPrice",
                                                title: "Existing Price",
                                                attributes: {
                                                    style: "text-align: right;"
                                                },
                                                width: 100
                                            }, {
                                                field: "StartDate",
                                                title: "Start date",
                                                attributes: {
                                                    style: "text-align: right;"
                                                },
                                                width: 100
                                            },{
                                                field: "NewUnitPrice",
                                                title: "New Price",
                                                attributes: {
                                                    style: "text-align: right;"
                                                },
                                                width: 100
                                            }, {
                                                field: "PriceChangeUnits",
                                                title: "Price change",
                                                attributes: {
                                                    style: "text-align: right;"
                                                },
                                                width: 100
                                            }, {
                                                field: "PriceChangePercentage",
                                                title: "% change",
                                                attributes: {
                                                    style: "text-align: right;"
                                                },
                                                width: 100
                                            }, {
                                                field: "ManufacturerJustification",
                                                title: "Justification Provided",
                                                width: 150,
                                                attributes: {
                                                    style: "font"
                                                }
                                            }, {
                                                field: "ExcludeFromUpload",
                                                title: "Excluded from upload",
                                                width: 100,
                                                template: "<a class='btn btn-link colorBlue' type='button' id='button${PricingImportId}' onclick='onExcludeFromUploadPrice("" + "excludedFromUploadPriceAnalysis" + "", "" +  "@excludeFromUploadUrl" + "", "" + "${PricingImportId}" + "")'><i id='excludedFromUploadPriceAnalysis" + "${PricingImportId}" + "' class='fa fa-toggle-off'></i></a>",
                                                attributes: {
                                                    style: "font",
                                                    style: "text-align: center;"
                                                }
                                            }

 

CSS:

#priceChangeAnalysisGrid .k-link {
    color: black !important;
}
 
.hidden {
    display: none;
}
 
.k-button.k-upload-button {
    color: #fff;
    background-color: #009639;
    border-color: #009639;
}

 

What could it be happening here?

Thanks in advance

 

Jaime
Top achievements
Rank 1
 answered on 06 Aug 2020
5 answers
955 views
When we select "All" in pagination drop down of kendo grid, it causes page to hang/unresponsive for sometime. This happens huge datasource( like 10000 ) only. Kindly provide a solution how can we resolve this issue.
Alex Hajigeorgieva
Telerik team
 answered on 06 Aug 2020
3 answers
223 views

I use grid with params

columnMenu: true,

columns: [{

    "title": "Docs",
    "command": [
    {
         "name": "B24",
         "click": func,
    }
    ],
        "locked": true,
        "lockable": false,
        "hidden": false,
},

{
    "title": "title1",
    "columns": [
    {
        "title": "title2"

....

....

....

]

And with tree header structure I do not see in columnMenu lock-unlock buttons.

How can do that they will be visible?

Nikolay
Telerik team
 answered on 06 Aug 2020
1 answer
302 views
I'm having problems when exporting value from textarea tag while on the iPad Safari. It overlaps some text but on the desktop and iPhone they work fine.
Nikolay
Telerik team
 answered on 06 Aug 2020
5 answers
738 views

I use 

        @(Html.Kendo().DropDownList()
              .Name("size")
              .BindTo(new List<string>() {
                  "S - 6 3/4\"",
                  "M - 7 1/4\"",
                  "L - 7 1/8\"",
                  "XL - 7 5/8\""
              })
              .HtmlAttributes(new { style = "width: 100%" })
              )

on Index page and it working

The same I use in dialog but unsuccesfully

Code of dialog:

    <div id="popup_assignAnOrder" style="display: none; z-index: 10; background-color: white; position: absolute; left: 0; top: 0; width: 100%; height: 100%"></div>
    <script>

        function click_assignAnOrder() {
            var grid = $("#grid").data("kendoGrid");
            var data = {
                selectedIds: Object.keys(grid._selectedIds)
            };
            $.ajax({
                type: "post",
                url: "/Grid/PopupAsignPrikazi",
                data: data,
                success: function (data) {
                    var dialog = document.getElementById("popup_assignAnOrder");
                    dialog.innerHTML = data;
                    $(dialog).show('fast');

 

action

        [HttpPost]
        public ActionResult PopupAsignPrikazi(string[] selectedIds)
        {
            ViewBag.Tip = _db.Prikazs.Select(p => new SelectListItem(){ Value = p.Tipp.Kod_tipp.ToString(), Text = p.Tipp.Tipp1 }).Distinct().ToList();
            ViewBag.Osnovanie = _db.Prikazs.Select(p => p.Osnovanie).Distinct().ToList();
            ViewBag.SelectedIds = selectedIds.Select(Int32.Parse);
            return PartialView("~/Views/Home/_PopupAddPrikazi.cshtml");
        }

 

 

Marin Bratanov
Telerik team
 answered on 06 Aug 2020
1 answer
124 views

when splitter moved to the right, Gantt's header's width was expanded,but  The  Width of Gantt's timeLine was not expanded.

I think your Gantt's timeLine's width is not Automatic calculated.

How can I solve this situation?

 

Ivan Danchev
Telerik team
 answered on 06 Aug 2020
1 answer
152 views
In angular10, we use your Gantt

we want to modify Gantt’s  dayHeaderTemplate In my own Customize Format Method。

but Google browser tell us my Customize Format Method was not defined.

How to solve this problem?
Petar
Telerik team
 answered on 06 Aug 2020
1 answer
128 views

In angular10, we use your Gantt

we want to modify Gantt’s  dayHeaderTemplate In my own Customize Format Method。

but Google browser tell us my Customize Format Method was not defined.

How to solve this problem?

Petar
Telerik team
 answered on 06 Aug 2020
2 answers
232 views
Cómo se establece el formato es-ES para una columna tipo numerico? Por ejemplo: 10,564.24 
He probado esto: 
<script src="/lib/Kendo/js/kendo.culture.es-ES.min.js"></script>
...
<script>
$(document).ready(function(){
        kendo.culture('es-ES');
        ...

//column
{field: "nameField", title: "titleField", locked: false, lockable: true,  width: 150, aggregates: ["min","max","average"], groupHeaderColumnTemplate: "Avg: #= kendo.toString(average, 'n0') #", groupFooterTemplate: "<div>Max: #= kendo.toString(max, 'n0') #</div><div>Min: #= kendo.toString(min, 'n0') #</div>"}
Martin
Telerik team
 answered on 05 Aug 2020
1 answer
194 views

Is there a way to check if the click event on a node had the control key? Unlike the drag/drop events where you can get the original event, I cannot see the same with the select event...

 

Matt

Ivan Danchev
Telerik team
 answered on 05 Aug 2020
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?