Telerik Forums
Kendo UI for jQuery Forum
1 answer
135 views

Hi everyone

 

I tried to use new kendo numerictextbox component with angular 2 but the component doesn't have proper styling.

When comparing with demo examples on kendo site http://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/ my local control doesn't have CSS attributes as demo example.

I installed latest "Theme & Styling" module: npm install --save @progress/kendo-theme-default@2.11.0 but it didn't help.

I suppose that @progress/kendo-theme-default@2.11.0 bundle doesn't contain CSS for numerictextbox component?

 

Any help?

 

Thanks

Vladan

Kiril Nikolov
Telerik team
 answered on 24 Jan 2017
1 answer
142 views

Hello,

In case of using inner and outer form with the kendo-combo-box outer form sets dirty after setting datasource value: http://dojo.telerik.com/IBIxI/2

It is reproducible when ng-model has null value and works fine when it has any other value. 

The same behavior for kendo-drop-down-list directive that used with select tag. ng-model has any value except null in this case: http://dojo.telerik.com/IvUKo

Stefan
Telerik team
 answered on 24 Jan 2017
2 answers
685 views

Hi,

I'm trying to save a users spreadsheet column configuration so that when they come back to a page the second time, the columns are the same as when they left. I'm using local storage to save twp attributes ( dataSource.options.schema.model.fields, spreadSheet.options.sheets[0].columns). There is only ever 1 sheet.

However - I cannot see any attribute in either of these objects which indicate a column is hidden. Is this something which is available? Or is the hiding done via the css display property?

Thanks,

Marc

 

Marc
Top achievements
Rank 1
 answered on 24 Jan 2017
2 answers
249 views

In our chart we are building we are attempting to use multiple data sources in the chart, one being a remote json data source and the second being a local one that's values are generated from the remote one.

this is done so that the data series doesn't continue have values past a certain point and can can be cut off instead of having a slope down to zero to the next category axis point; a downside to an area chart. The effect can be seen in the first attached image. The slope happens at the lubber line, where there can be no data gathered from the future. The black line is the expected trend based on the first value so the data source has indexes extending beyond the current time where all of the other values are zero/null

The black line can be generated on the user side which fixes the slope to zero at the lubber line problem but the array it is stored in cannot be displayed. We've been following this example but we are having issues applying with to a remote and local data source. Our current chart has the Efficiency Field in the legend but displays no line in the chart, see the second photo for an example of the chart.

main code:  eff is a local variable

<p>   var eff = [];<br>        var x = document.getElementById("CheckM");<br>        $("#ChartFullDay-@unique").kendoChart({</p><p>            dataSource: {<br>                data: eff,<br>                transport: {<br>                    read: {<br>                        url: "@Url.Action("ChartData", new { id = "SkillFullDay" })",<br>                        dataType: "json"<br>                    }<br>                },<br>                schema: {<br>                    model: {<br>                        fields: {<br>                            Label: { type: "string" },<br>                            AllValue: { type: "number" },<br>                            MValue: { type: "number" },<br>                            SValue: { type: "number" },<br>                            EValue: { type: "number" },<br>                            OValue: { type: "number" },<br>                            Efficiency: { type: "number"}<br>                        }<br>                    }<br>                },</p><p> },<br>            series: [{<br>                field: "MValue",<br>                name: "M",<br>                color: "red"<br>            }, {<br>                field: "EValue",<br>                name: "E",<br>                color: "green"<br>            }, {<br>                field: "SValue",<br>                name: "S",<br>                color: "blue"<br>            }, {<br>                field: "OValue",<br>                name: "O",<br>                color: "yellow"<br>            }, {<br>                type: "line",<br>                stack: false,<br>                name: "Expected",<br>                data: eff,<br>                field: "EffValue",<br>                color: "black"<br>            }, {<br>                type: "line", <br>                stack: false,<br>                field: "AllValue",<br>                name: "Actual",<br>                color: function () { return winningDayColor; }<br>            }],</p>

Goals

  • Have a local and remote data source for a graph
  • local datasource values change on user interaction

Problem

  • Cannot get chart to use values from local array applied in the same way in the example

Thanks for the help!

Adam
Top achievements
Rank 1
 answered on 23 Jan 2017
3 answers
304 views

I have a line chart with 10+ series. On legend hover I would like to highlight the hovered series and dim all other series

Is this scenario possible?

Eduardo Serra
Telerik team
 answered on 23 Jan 2017
1 answer
285 views

Hello,

I am using Kendo Spreadsheet for angular

I want to display spreadsheet inside the angular modal,

so whenever i open the modal,it displays correctly 

but for the second time it doesnt display properly(all messed up UI) but as soon as I resize the window it  shows properly.

I am attaching the screenshot for better explaination

$scope.openSpreadsheet=function(){
 
$scope.modalInstance = $modal.open({
templateUrl: 'spreadsheetmodal.html',
scope: $scope
});
$scope.spreadSheetOptionsEdit={
toolbar: {
home: [
"open",
"exportAs"
],
insert: [
[ "addColumnLeft", "addColumnRight", "addRowBelow", "addRowAbove" ],
[ "deleteColumn", "deleteRow" ]
 ]
}
}

}

 

In view-

<kendo-spreadsheet  k-scope-field="spreadsheet" id="spreadsheet"  k-options="spreadSheetOptionsEdit" k-sheets="sheetsEdit" ></kendo-spreadsheet>

 

Stefan
Telerik team
 answered on 23 Jan 2017
2 answers
251 views

I have an application that uses the spreadsheet to upload data within an angular component on my page. The component allows the user to click either an Update or Cancel button when they are done with any additional editing on the spreadsheet. This works fine, except when the user edits a cell and then clicks a button without moving to another cell in the spreadsheet.  According to some of the documentation, I should be able to call the change event on the spreadsheet to set this, but this seems to occur AFTER the calls to the button events. 

I have been able to set the value of the cell to the value in the editor using $('.k-spreadsheet .k-spreadsheet-view .k-spreadsheet-cell-editor'). However, if the user then tries to open another spreadsheet within this component, the value for this element is what they had been typing prior to hitting the Update or Cancel button. This then appears to overwrite that cell on the new spreadsheet, although it is not saved when the user selects another cell. In other words, if the user is in cell C3 typing 'my new text' without moving to another cell, clicks Update, and clicks Add Another Spreadsheet on the parent component, cell C3 of the new spreadsheet will read 'my new text' regardless of what was in that cell in the Excel file. If the user then clicks on another cell, the original value does show, but it's confusing to the users.

Is there any way to clear the contents of the k-spreadsheet-cell-editor div tag? I have tried setting it to '', but then it removes the text from the corresponding cell on the new spreadsheet.

I know you are going to want a demo, but this is a VERY complex application and I have very little time to fix this. I JUST need a way to clear that information so that it is not stored in the angular component's view when a new sheet is rendered.

Thanks!

Boyan Dimitrov
Telerik team
 answered on 23 Jan 2017
3 answers
379 views

Hello!

I was able to reproduce the problem by adding just two lines of code (filterable: true, columnMenu: true) to the official Kendo Grid basic usage demo: http://dojo.telerik.com/iSEcU/2

Repeat following steps:

1. Click on column menu icon
2. Move mouse cursor to "Filter" menu button -> "Filter" sub menu opens
3. Move mouse cursor to one of the two filter text input fields without leaving the "Filter" sub menu area -> "Filter" sub menu closes immediately

Current work-around is to click at one of the drop down lists first or to use the tab key to navigate between the input fields.

However, this seems like a bug to me, which is very annoying to our users. How can this be fixed?

 

Best regards,
Kaan

 

Kaan
Top achievements
Rank 1
 answered on 23 Jan 2017
9 answers
240 views

Hi team!

I need to add new row with inline input to grid automatically when grid loaded. I do it in dataBound (see below).

My "pipeline" is next:

  • I have page with Shopping Cart and I need to fill it by shop assistant.
  • I type product code to inline input and call Update (through barcode scanner)
  • pass barcode to server and check availability of such a product
  • If no such product - return error otherwise save product
  • after adding product to cart I need automatically show inline input for adding next product or dublicate previous etc.
  • when the cart is filled I need possibility to save it

I have two problem with it:

  1. When I click Save I get requare validation error (if I remove required: true new row will adding in infinity loop. If I click Cancel new row will added again in dataBound).
  2. When I delete row a new one empty row is added to grid (in total - two)

see screenshot please.

 

Could you please suggest me a right way? :)

 

Just in case I've attached an screenshot and my js code

 

Thank you.

  dataBound: function () {
      setTimeout(function () {
          var grid = $("#order-grid").data("kendoGrid");
          grid.addRow();
      });
 },

 

...

                                     model: {
                                            id: "Id",
                                            fields: {
                                                Gtin: { validation: { required: true }, editable: true, type: "string" },
                                                ...
                                            }
                                        }

Alex Hajigeorgieva
Telerik team
 answered on 23 Jan 2017
1 answer
90 views

I'm trying to permanently make the connectors visible and not just when you hover over it with the mouse.  I can't seem to find the option to turn off the hover option that makes them appear when I hover over a shape.  What would be the best way to accomplish this?

 

Thanks!

Ianko
Telerik team
 answered on 23 Jan 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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?