Telerik Forums
Kendo UI for jQuery Forum
1 answer
115 views
Hi,

I have configured cascading dropdown editors in Kendo Grid (inline editing) following this example http://www.telerik.com/support/code-library/cascading-dropdownlist-editors#boGvza6aG2OF1P8AAFTdxQ.

The changes I made are to use kendo v2013.3.1119, jquery v2.0.3 and to define option labels for both dropdown editors (see the attached example).
The issue I'm facing is the following:
The user selects the option label in the first dropdown (Brand) and the second cascaded dropdown (Model) is also populated with its option label and it is disabled. When the user clicks on the update button to save the changes, it seems that the change made to the cascaded dropdown has not been saved in the grid's model and the previous value is still available in the grid.

Is there a way to resolve this issue?

Regards,
Dimitris 
Kiril Nikolov
Telerik team
 answered on 14 Mar 2014
2 answers
162 views
Hi,

Is it possible to increase the width of the first column on the agenda view? When the title of a resource is to long, it floats over the second column.

Kind Regards,

Marco
Marco
Top achievements
Rank 1
Iron
 answered on 14 Mar 2014
6 answers
99 views
Hello everyone, I'm trying to populate a grid with localized data.
My codefirst entity framework database look like this:

public class Prod
{
    public int ProdId { get; set; }
    public int Quantity { get; set; }
 
    //Other Properties & Navigation Properties
 
    public ICollection<ProdLang> ProdLangs { get; set; }
}
 
public class ProdLang
{
    public int ProdLangId { get; set; }
    public int LangId { get; set; }
    public string Name { get; set; }
    public string Description { get; set; }
 
    //Other Properties
 
    public int ProdId { get; set; }
    public Prod Prod { get; set; }
}

I want to show in my kendo grid Collection of Product with ProdLang properties for current user language (eg. Name, Description)
For doing that i buil a flattened class, like this:

public class ProdView
{
    public int ProdId { get; set; }
    public int Quantity { get; set; }
 
    public string Name
    {
        get
        {
            return ProdLangs.Single(pl => pl.LangId == langId).Name;
        }
    }
 
    public string Description
    {
        get
        {
            return ProdLangs.Single(pl => pl.LangId == langId).Description;
        }
    }
    //Other Properties & Navigation Properties
 
    public ICollection<ProdLang> ProdLangs { get; set; }
}

My problem is that I want to let user to order & paging data, but I don't want to load entire collection everytime I have to display grid and pass it to "ToDataSourceResult" method.

There is a way for loading from the DB only the desired data?

Thanks
Atanas Korchev
Telerik team
 answered on 14 Mar 2014
1 answer
88 views
I am trying to create a dynamic drawer widget on initialization of a view, since there is not programmatic way to create a drawer widget I  build the drawer HTML like so:
<div data-role="drawer" id="my-drawer" style="width: 270px">
    <ul id="nav" data-role="listview" data-type="group">
       <li>Navigation
          <ul>
             <li data-icon=home><a href=views/index.html data-transition="none">Menu A</a></li>                </ul>
          <ul>
             <li data-icon=search><a href=views/weather.html data-transition="none">Menu B</a></li>             </ul>
          <ul>
             <li data-icon=compose><a href=views/location.html data-transition="none">Menu C</a></li>           </ul>
      </li>
      <li>Account
         <ul>
            <li data-icon="settings">Settings</li>
            <li data-icon="off">Log Out</li>
        </ul>
      </li>
   </ul>
</div>


I then append this generated HTML to the DOM but it is not "kendorized" so it doesn't act as the drawer widget would. When I click to open the drawer I get the following error message: Uncaught TypeError: Cannot call method 'openFor' of undefined

I need help getting this to work properly. Thanks

Kiril Nikolov
Telerik team
 answered on 14 Mar 2014
1 answer
135 views
Is there a way to get (not set) the valueAxis' min/max/majorunit values? I only seem to be able to access those properties if I actually set them first.

I want to be able to know what the values have been automatically set to by Kendo and determine if I need to fine tune the scaling.

Thanks.
Hristo Germanov
Telerik team
 answered on 14 Mar 2014
1 answer
80 views
Hi,

I've added native scrolling to all mi views on my app and the performance is awesome, just like a native app.

But if we combine a ListView with "pull to refresh" or "endless-scrolling" and native-scrolling does not work. Any way to fix it? Why in Chrome for Windows Desktop this feature is supported and work? what about mobile browsers?

please
Kiril Nikolov
Telerik team
 answered on 14 Mar 2014
1 answer
121 views
Hi,

I have succesfully import the custom admob plugin to show ads in my app. The only problem I have is that the ads are below the tabstrip, I actually prefer it being above the tabstrip. Second The whole view is being pushed up. I have attached a screenshot. Can I do anything about these problems?

Kiril Nikolov
Telerik team
 answered on 14 Mar 2014
1 answer
51 views
i'am using sql server 2012 and want to use pageable option to paginate and not scroll.
Kiril Nikolov
Telerik team
 answered on 14 Mar 2014
2 answers
117 views
I have a chart that has two category axes defined so I can display the category labels at the bottom of the chart when there are negative values. I am also setting min and max values for the second axis to avoid labels that show up as 0.25, 0.5, etc. when the series has small values like 1.

I would like to know if there is a simple way to line up the category axes of different series. If you see the attached image, you can see how the first series has a negative value and the second series starts below it.

Thanks.
Hristo Germanov
Telerik team
 answered on 14 Mar 2014
4 answers
946 views
Hi,
I'm trying to filter data inside dataBound event function, but it creates recursive calls to itself.
Could you tell me if this is a bug or am I doing something wrong?

Example: http://trykendoui.telerik.com/onAj
This is Event example from grid demos with modification inside "function onDataBound(arg)".

function onDataBound(arg) {
                    kendoConsole.log("Grid data bound");
                      var l_Data = this.dataSource;
                    l_Data.filter( {
                        field: "UnitsInStock",
                        operator: "eq",
                        value: 39
                        } );
                }
Luke
Top achievements
Rank 1
 answered on 14 Mar 2014
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?