I want to create a nested dropdown which both of them have external datasource?
Example of which i wanted to achieve is just like this,
1. Plane
2. Ship
3. Car -> Car Brand A
-> Car Brand B
-> Car Brand C
(Plane,Ship,Car) From Transport Datasource and (Car Brand A,B,C) From Car Brand Datasource, do anyone have any idea how this can be achieved in kendo way, because i haven't found one yet
This link should help you:
Cascading drop down list
It is relatively simple to implement and should give you the ability to change your second datasource based on the first selected datasource.
Related
Is it possible to randomly select a value from a dropdown list using robot framework?
My scenario is as follows:
I have this element with xpath of //*[#id='companyName']. All values here are populated upon creation of company, so all created companies are listed in that Dropdown list.
That element belongs to another form/page which is the creation of facility, is it possible to create a facility wherein selected company can be randomized?
Sorry for the noob question, just a newbie in robot framework :D
How To Create Nested View Link In JDeveloper
For Example I only create one view link contains
three things like
Master Table
MobilePurchaseSearchDate
Details Table
MobilePurchaseSearchName
Details Table
MobilePurchaseSearchModel
How to create this nested view link plz tell me
:(
You create view links from 1->2 and from 2->3
Then in the application module data model you can shuttle the VO's to the right.
First shuttle 1, then stand on it on the right side and shuttle 2 under that one, and then stand on 2 and shuttle 3 under that one.
there is a feature called "Filter Row" in Kendo Grid
http://demos.telerik.com/kendo-ui/grid/filter-row
I want to add a drop-down list instead of a text box or a number box, to the filter box. It's for filtering a column that has countries. So I want list of countries in a drop-down list. How can I do this?
It's very similar to the custom Filter Menu (http://demos.telerik.com/kendo-ui/grid/filter-menu-customization). I made the mistake of no using valuePrimitive: true. You might not want it in your situation but keep that in mind.
Here's a sample: http://dojo.telerik.com/OKaS
Also, the filter menu should take up the editor model of the column but it's not always what you want.
Edit
Starting from 2014 Q2 SP1, the template function now receives an object containing "datasource" and "element". In my example, you would have to change the dropdown initialization from "container.kendoDropDownList" to "container.element.kendoDropDownList". The datasource is empty in my example but I'm assuming this can be used to pass the choices to a control without requiring another datasource or to externalize your current. I have not experimented with this feature but I suggest you do before taking my sample blindly.
As Pluc mentioned earlier valuePrimitive: true will help you create a custom filter for your grid/columns to send id's to your controller, if you are not using setting this property true you will receive an Object in your controller instead of a number, the conversion will not be made automatically . This is still working as of 2019
I'm in a situation where I have two different Kendo UI Datasources, and they both contain a field called "ID".
Datasource1
Datasource2
Now I need to to the following:
First apply filter and group to Datasource 1 (this works fine)
Then populate a listView only with the items which has an ID that is also part of Datasource2
I tried doing this with a script in the listView template, but when items are "excluded" it outputs an empty li-element.
Any ideas?
I got help from Telerik support to solve this. Here is the solution they proposed:
As there is not built-in functionality that does the functionality that you are looking for, you will need to implement it manually. First you will need to filter the dataSource then loop through the results and get the items from the second dataSource with the ID that match the one you are looking for (using the get()) method. Then you can push the items in a new dataSource that you can use to show the ListView template.
It works great.
I've recently started using Expression Sketchflow to prototype some user interface designs. I currently have a master datagrid at the top of the page, which I would like to allow the user when selecting a particular grid row to see a sub-datagrid below be populated with specific data relevant to that specific row of master data.
Could anyone shed some light on the subject!?
Help greatly appreciated.
I figured out how to do this by reading this article:
Expression Blend 3 – secrets of working with data.
Here's the basic steps (you already did a couple it sounds like)
Create your sample data set
Under the Data tab select the List Mode and drag your collection onto the screen, a list view of your data will be created (Master datagrid)
Now, select the Details Mode and drag and drop your collection onto the screen where you want the details to be displayed. (sub datagrid)
Tweak the fields displayed by dragging properties into the respective containers or modifying the XAML / Bindings list
If you have a child collection in your data, you may have to jump through a few more hoops.