Telerik Forums
Kendo UI for jQuery Forum
2 answers
317 views

Hello,

my Problem is one of the Stacked Barchart Labels is covered by the edge from the plot Area. The other elements are in the correct position. (Image: LabelPosition.png) For the Labels with the correct position i have found this Path (Path.png) and for that other guy (CoveredPath.png) 

Tsvetina
Telerik team
 answered on 08 Apr 2019
1 answer
280 views
I have detail grid for every row in the master grid, all expanded detail grids will be destoryed when add a new record, how to prevent refreshing entire grid when add a new record in the master grid.
Tsvetomir
Telerik team
 answered on 08 Apr 2019
2 answers
171 views

Hello,

I need to change the header format in week view

I found that is hardcoded, but it diffrent for localizations

DATA_HEADER_TEMPLATE = kendo.template('<span class=\'k-link k-nav-day\'>#=kendo.toString(date, \'ddd M/dd\')#</span>')

nobody understand that first digit is it a month

Alexander
Top achievements
Rank 1
 answered on 08 Apr 2019
1 answer
676 views

While trying to access the web site through VPN the kendo.all.min.js file only loading "956kb" and my total file size of kendo.all.min.js is 3000kb. please help me with this.

thanks in advance.

Ivan Danchev
Telerik team
 answered on 05 Apr 2019
1 answer
331 views

Hi,

I have tried a whole bunch of the suggestions before posting here.I cannot get the pdf export to put in icons I have in my table. The table uses custom fonts and I am loading ttf fonts and everything. I am putting here table html as rendered that needs to be output. the css declaraitons and javascript code for pdf.

1. Markup - Attached in zip

2. Font Declarations: 2

@font-face {
  font-family: 'cicon';
  srcurl('fonts/cicon.eot?c4pj34');
  srcurl('fonts/cicon.eot?c4pj34#iefix') format('embedded-opentype'),
    url('fonts/cicon.ttf?c4pj34') format('truetype'),
    url('fonts/cicon.woff?c4pj34') format('woff'),
    url('fonts/cicon.svg?c4pj34#cicon') format('svg');
  font-weight: normal;
  font-style: normal;
}

3. Javascript to produce pdf:

$('div.div-action-btns').hide();
          $('#export-pdf').hide();
          var draw = kendo.drawing;
          draw.drawDOM($('#div-grid-container'),{avoidLinks: true})
              .then(function (root) {
                  return draw.exportPDF(root, {
                      landscape: true,
                      paperSize:"auto"
                  });
              })
              .done(function (data) {
                  kendo.saveAs({
                      dataURI: data,
                      fileName: 'Lane-Assignments' + window.Stf.Utility.formatShortDate(new Date()) + '.pdf'
                  });
                  $('div.div-action-btns').show();
                  $('#export-pdf').show();
           
              });

4. Output PDF - Attached in zip

I need urgent help on this please.

 

 

Veselin Tsvetanov
Telerik team
 answered on 05 Apr 2019
1 answer
290 views

Hello, i have a Upload dynamic into detail template of grid.

This is my kendo template:

<script id="myscript" type="text/x-kendo-template">
        <div class="row">
            <input name="myNameupload" id="myupload#:id#"
                type="file"
                data-role="upload"
                data-async="false"
                data-multiple="false"
                data-show-file-list="false"
                data-bind="events: {
                    select: Upload.onSelect,
                    upload: Upload.onUpload
                }" />
        </div>
    </script>

 

 

My js file:

 

Upload: {
                onSelect: function (e) {
                    e.preventDefault();
                    console.log(e);
                    debugger;
                },
                onUpload: function(e){
                    e.preventDefault();
                    console.log(e);
                    debugger;
                }
            },

 

Upload is a widget into detail template

detail template is defined in the grid.

The error is shown before the event:

 

 

 

 

Veselin Tsvetanov
Telerik team
 answered on 05 Apr 2019
2 answers
476 views

Hi there,

I have a MultiColumnComboBox which is configure as follows:

sample multicolumn comboBox instantiation with odata as data source.

<html>
   <body>
       <div>
            <input id="hierarchySelector" style="width: 100%" />
       </div>
   </body>
 
   <script>
        var $hierarchySelector = $("#hierarchySelector");
 
        $(document).ready(function() {
        var hierarchySelector = $hierarchySelector.kendoMultiColumnComboBox({
            autoBind: true,
            dataTextField: 'Name',
            dataValueField: 'EntityHierarchyId',
            optionLabel: {
                rmx_Name: '--Select value--',
                rmx_EntityHierarchyId: null
            },
            width: '100%',
            columns: new Function("return [{field:'Code', width:200, title:'Code'},{field:'Name', title:'Name', width:300}];")(),
            footerTemplate: 'Total #: instance.dataSource.total() # items found',
            change: function(e) {
                console.log("change hierarchySelector");
            },
            dataBound: function(e) {
                if (!InitCodeExecuted) {
                    InitCodeExecuted = true;
                    $('#toggleHierarchyType_buttonGrp_0').click();
                }
            },
            dataSource: new kendo.data.DataSource({
                type: 'odata-v4',
                error: odataError,
                transport: {
                    read: {
                        url: hierararchyBaseUrl +
                            '?$select=EntityHierarchyId,Code,Name,HierarchyType,RelationshipFilterId&$orderby=Name&$filter=az_State eq 2',
                        headers: window['authenticationBearerToken'],
                        data: function() {
                            var cid = getQueryStringParam('cid');
                            if(cid != null) return { cid: cid };
                        }
                    },
                    parameterMap: function(options, type) {
                        return kendo.data.transports['odata-v4'].parameterMap(options, type);
                    }
                }
            })
        });
    });
   </script>
</html>

 

The code above works and populates with data.  But, the issue that I'm facing is the output (as seen on the attached image file).

An underline (probably border) on each row is visible and doesn't look good.  I checked the underlying elements, which is

<ul><li>

and the styles it applies but I couldn't find any css rule / property that relates to the visible horizontal line of each row.

Could someone point me to the right css rule that I can override with?

 

Any inputs are greatly appreciated.

Junius
Top achievements
Rank 2
 answered on 04 Apr 2019
1 answer
170 views

We use editing treelist, when we add new element, we can't see it in model, untill refresh. It disappear after we press "Update")

a part of TTreeListEditController.java:

@RequestMapping(value = "/TTreeListEdit/create", method = RequestMethod.POST)
public @ResponseBody
TTreeListEdit create(@RequestBody Map<String, Object> model) throws ParseException {
TTreeListEdit target = new TTreeListEdit();

target.setIdObjectType((String) model.get("idObjectType"));
target.setDescription((String) model.get("description"));
target.setObject1C((String) model.get("object1C"));
target.setParentID((String) model.get("parentID"));

product.insert(target);

return target;
}

1.png - before we press "Update"

2.png - after we press "Update"

3.png - after we refresh

Martin
Telerik team
 answered on 04 Apr 2019
9 answers
138 views

```json

{
"version": "v1",
"resource": "customer",
"status": "success",
"paginator": {
"count": 25,
"currentPage": 1,
"lastPage": 2,
"perPage": 25,
"total": 50,
"nextPageUrl": "http://oc-scheduler.local/api/scheduler/customers?page=2"
},
"data": [
{
"id": 1,
"erp_number": "67261537",
"company": null,
"name": "Keven Emmerich",
"email": "keith.lakin@adams.com",
"phone": null,
"fax": null,
"address": null,
"postal_code": null,
"city": null,
"country": null,
"unit": null,
"floor": null,
"alternate_phone": null
},
{
"id": 2,
"erp_number": "46316763",
"company": null,
"name": "Guy Predovic",
"email": "ljaskolski@cassin.biz",
"phone": null,
"fax": null,
"address": null,
"postal_code": null,
"city": null,
"country": null,
"unit": null,
"floor": null,
"alternate_phone": null
}

]

}

```

Ivan Danchev
Telerik team
 answered on 04 Apr 2019
2 answers
154 views

I am really having time with anything I am trying with KendoUI library.

What is wrong with my template for a column ?

receiving this error: Uncaught Error: Invalid template:

columns: [
                {
                    template: "#if(quotation_number===null) {# <h5>something</h5> #} else {# #:quotation_number# #}#",

                    field: "quotation_number"

               },

 

thanks

Georgi
Telerik team
 answered on 04 Apr 2019
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?