Telerik Forums
Kendo UI for jQuery Forum
5 answers
248 views

I was looking at the new SASS Themebuilder.  For TabStrip, it looks like the tabs use the "Accent" foreground/background, with the currently selected tab using the "Common" pair.  So the unselected tabs are drawing attention to themselves, while the selected one is (generally) more muted.  This is opposed to the similar ButtonGroup, which seems to use "Base" colors, with the selected button using the "Selected" pair.  It would seem natural for TabStrip to use Base/Selected instead of Common/Accent as well?

I see that "Menu" uses Accent (and Base for its menu/submenu content items), but there isn't such a thing as the "selected" menu of a group.  Even if TabStrip uses "Common/Accent", wouldn't one expect usage to be reversed, with only the current tab using "Accent"?

What's done probably makes sense in the grand scheme of things - I'm just curious.  We're looking at replacing our current frankenstyling (a hacked up version of the old v1 Default) with a more cleanly extended SASS v2 Default, and the way TabStrip and a couple others use the stylings seems a bit non-intuitive.

Ivan Zhekov
Telerik team
 answered on 22 Jun 2017
1 answer
295 views

Here is my kendo popup of a particular height and width but when I double click on the panel it expands to full page width. How to avoid it?

Here is the html code for my kendo grid popup:

 

<div kendo-window="vm.winVersionHistory" id="verHistory" k-width="850" k-title="'Version History'" k-position="{ top: 200, left: 300 }" k-modal="true" k-visible="false">  </div>
Georgi
Telerik team
 answered on 22 Jun 2017
3 answers
1.2K+ views
The example for the Kendo UI Grid for Angular 2 shows how to implement sorting with an array fed into a GridDataResult as your data source, but what is the correct way to implement sorting when using an Observable as your datasource? I'm able to map my Observable<stuff[]> to a Observable<GridDataResult> but not clear on where to inject sorting in that process.
Dimiter Topalov
Telerik team
 answered on 22 Jun 2017
3 answers
152 views
Is it possible, or on the road map to enable a search box that could show at the top right of the diagram? This would be useful for something like searching a large organisation chart...
Boyan Dimitrov
Telerik team
 answered on 22 Jun 2017
4 answers
1.7K+ views

Hi! I'm having issues with the PDF exporter.

Basically, I want a PDF in which the first page is a normal Kendo bar chart, and *starting* in the second page a multi page long grid with related data starts.

If I wrap both in a <div> and export that, it works fine. I get a multi page PDF, with the grid's repeated headers and so on. Chart takes half of the first page, grid takes the other half and a couple more pages. I'd like for the first page to be occupied only by the chart, and the grid pages starting after that.

Here is an example: http://dojo.telerik.com/iHeXo

It proceeds to export the chart in the first page, then it does a page break, exports the grid starting at the second page, but it stays there. It renders the grid as far as it can go in the second page but it wont render the remaining rows in more pages, so a lot of data ends up missing.

If you remove forcePageBreak in the export settings, it renders the grid in multiple pages just fine, but the first few rows are placed in the first page.

If I've understood the code correctly, in the splitElement function in kendo.drawing.drawDOM, it seems that the crawling logic checks if it should issue a page break on the element, but then if it does, it skips it without crawling it to see if it will require more space. That is, splitElement gets called for the <div id="multi-page-grid"> element, but it never crawls the grid's <table> element inside to divide it up in multiple groups.

Any ideas?

Miguel
Top achievements
Rank 1
 answered on 21 Jun 2017
2 answers
893 views

Good afternoon,

So I have created this little example here: http://dojo.telerik.com/Ivipo

The important thing is that I added "min: 1" to the UnitPrice field definition (in the model). So If I test this I must input a value in UnitPrice greater than 0, at least 1 to be valid right? but it is not... it only requires the "ProductName" to have something and then it saves the information... why? am I doing something wrong? did I miss something here?

Could you please tell me where can I find the documentation about the properties that I can define for the "validation" object ?? things like "min" or "required"...

 

Thanks!

 

 

Jairo
Top achievements
Rank 1
 answered on 21 Jun 2017
3 answers
718 views
I'm working on a project where I have 2 horizontal panes. The left side is a tree view and the right side is the content view (Think windows explorer). Is it possible to have a content layout (grid) in that right pane that will resize based on the size of the splitter pane? Right now I can't seem to get controls to stack properly when the pane is resized.  This isn't a kendo issue exactly, but I'm hoping someone else has worked through this.  My left pane is going to start with a fixed size and the right pane takes the remainder of the viewport. 
Dimitar
Telerik team
 answered on 21 Jun 2017
3 answers
682 views

Is there a built in function (couldn't find in the documentation) that will convert a column index to it's named range equivalent?

 

For example convert column 2 to "C", 3 to "D", 27 to "AB", etc.

Doug
Top achievements
Rank 1
 answered on 21 Jun 2017
3 answers
158 views

Is it possible to bind a column chart to individual fields in a MVVM viewModel? 

We have a calculator with numerous inputs from the with the end result being three main total fields. So these fields are actually calculated based on calculations which doesn't make them quite appropriate for a dataSource object. E.g. 

 

var myViewModel = kendo.observable({
    totalIncome: function(){
        /* get expressions to gather all the input provided by the user */
        return sumOfGetExpressionsAbove;
    },
 
    totalExpenses: function(){
     /* get expressions to gather all the input provided by the user */
        return sumOfGetExpressionsAbove;
    },
 
    /*other fields/properties related to the calculator for various types of incomes, expenses, assumptions etc. These all make up part of the fields used to calculate totals */
})

 

So the total fields are used in two divs show the totals but we also want to show this in a simple 2 column bar chart. 

Is this possible? I don't see any way to bind a chart to two separate fields instead of a datasource? 

Boyan Dimitrov
Telerik team
 answered on 21 Jun 2017
5 answers
307 views

Hi, according to documentation, The data source used by the kendo.ui.TreeList widget. Inherits from kendo.data.DataSource

http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#configuration-schema.data

But when I try to define  

schema: {
data:"result"

}

 

Widget can't load any data.

Boyan Dimitrov
Telerik team
 answered on 21 Jun 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?