Telerik Forums
Kendo UI for jQuery Forum
3 answers
1.5K+ views
Hi,

I am having a list view with multiple details.Each detail contains a check box in the display view and in the header there will
be another check box  when ever i am selecting the header check box i have to select all the list views and then we have to do 
particular action like save or delete, that means i have to delete or save multiple values in the list view.simply whenever i am selecting the top select box i have to select the all the list views which will have check boxes and we have to do particular action regarding all the values.
I hope you understand my question.
Please provide me an example or sample


Thanks and Regards,
Srinivas
Volodymyr
Top achievements
Rank 1
 answered on 08 Nov 2012
0 answers
79 views
I am just wondering if you can use the Web version to make a PhoneGap enabled application or do
you have to create it with the Mobile libraries?

The reason I wonder is because I need more "freeform" layout possibilities to create similar apps to your Stockwatch sample, that work "native" in Android Tables.

Thanks in advance,
Marcus
Marcus
Top achievements
Rank 1
 asked on 08 Nov 2012
2 answers
235 views
Hi,

Are there any demos aimed at creating a Kendo ASP.NET MVC 4 website that supports both web and mobile (presumably by detecting the browser and/or screen)?  I realize this is typically a server-side issue, but am wondering if there is anything in Kendo that facilitates this dual client development or whether there are proven strategies the people have used when employing Kendo with ASP.NET MVC 4 for a web and mobile website?

thanks,
Derek

Krishna
Top achievements
Rank 1
 answered on 08 Nov 2012
0 answers
372 views
Hi,

I ran in some cross browser compability issues with the placeholder property. Apperently this is because Internet Explorer up to version 9 cannot handle the "placeholder" attribute correctly.

Issues were:
  1. In Internet Explorer the color of the placeholder text was equal to the color of the text typed in the input field, all other browsers showed the placeholder in light grey.
  2. When clicking in the field the placeholder would not disappear in browsers like Firefox for example, but simply changed color to the normal input color. It only disappeared as soon as you started typing. IE, however, removed the placeholder text as soon as the input field is clicked in and shows the user a empty input field, which was my desired behaviour.

To fix these issues i came up with some event handlers that can be easily attached to your autocomplete setup script plus two lines browser specific of CSS code.

JS Autocomplete setup code:

$("input.autoComplete")
        .kendoAutoComplete({...})
        .focusin(function () {         
            //If IE the placeholder will be hidden, but typed text
// would be in the placeholders colour, so change it here to your normal
// input color
            if ($.browser.msie === true) {                 $(this).css('color''black');             }         }).focusout(function () {             //If IE and the value is empty, the placeholder will be shown;
// make sure it has the right colour
            if ($.browser.msie === true && $(this).val() === '') {                 $(this).css('color''#6d6d6d');             }                }).ready(function () {             var el = $("input.autoComplete");             var value = $(el).val();             if (value !== $(el).data('kendoAutoComplete').options.placeholder) {                 //every browser except IE return empty value if input is empty
// but placeholder is shown
                if (value !== '') {                     $(el).css('color''black');                 }             }  else {                 //if IE change color for your place holder;                 if ($.browser.msie === true) {                     $(el).css('color''#6d6d6d');                 }             }         });

CSS Code:
/*This will make the placeholder invisible in Gecko/WebKit browsers on focus*/
input:focus::-webkit-input-placeholder { colortransparent !important; }
input:focus:-moz-placeholder {colortransparent !important; }


I hope the code helps others, with the same cross browser issues.

Joachim
Top achievements
Rank 1
 asked on 08 Nov 2012
1 answer
202 views
Hi!

Is it possible to bind treeview widget with checkboxes?

I try like this

<div id="products"  data-role="treeview" data-text-field="Name" data-value-field="Id" data-check-field="Checked" data-check="true" data-bind="source: SpecificationProducts" ></div>
but without success.

Kind regards,

Janez
Alexander Valchev
Telerik team
 answered on 08 Nov 2012
24 answers
613 views
When I pull down to refresh with only one item in the listview it does not seem to trigger the refresh.  If I have two or more items the refresh works.  Anyone else getting this?

Cheers,

Simeon
d2uX
Top achievements
Rank 1
 answered on 08 Nov 2012
1 answer
51 views
http://docs.kendoui.com/tutorials/mvvm-in-kendo-ui; see the sample at the bottom of the page.  Under IE 9, cannot set Type or Amount (via spinner).  Works fine on Chrome.
Rohit
Top achievements
Rank 1
 answered on 08 Nov 2012
3 answers
601 views
I have a datasource/grid that I would like to update depending on selected in a TreeView.

I have my datasource created like so:

        dataSource = new kendo.data.DataSource({
            transport: {
                read: {
                    url: "/api/items",
                    dataType: "json",
                    data: { id: "1" }
                }
            }
        });

When a user selected an item on the TreeView I want to update the datasource to change the id that defines its results. Can I just create a new dataSource with the new {data: {id: "newid"}}?

How would I then apply this to the grid that already exists?
Muhammad
Top achievements
Rank 1
 answered on 08 Nov 2012
1 answer
169 views
Hi,
Just to make you aware that if you are using the standard out of the box ASP.NET MVC4 template an issue arises with the dropdownlist. The top section of the list that is displayed after clicking is cut off. This is due to the border-top css below clashing with the kendo dropdownlist styling. Is this something that can be fixed?

body {
    background-color: #fff;
    border-top: solid 10px #000;
    color: #333;
    font-size: .85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
}


Temp
Top achievements
Rank 1
 answered on 08 Nov 2012
3 answers
705 views
I have a grid attached to a datasource with local sorting enabled.

One of the columns contains a list of numbers collected from an integer column of a database, so every value is definitely numeric.

What I would expect in this instance is numerical sorting but instead it is doing alphabetical as though it was text not numbers.
eg. 0, 1, 23, 3, 45, 54, 6, 76, 8

Does kendo automatically detect the datatype of a column to determine suitable sorting?
Or can we specify the datatype of individual columns ourselves?
Sean
Top achievements
Rank 1
 answered on 08 Nov 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Nakul
Top achievements
Rank 3
Iron
Iron
Iron
Rina
Top achievements
Rank 2
Iron
Iron
Mukesh
Top achievements
Rank 2
Iron
Iron
Iron
Ruksana
Top achievements
Rank 2
Iron
Iron
Rakesh
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Nakul
Top achievements
Rank 3
Iron
Iron
Iron
Rina
Top achievements
Rank 2
Iron
Iron
Mukesh
Top achievements
Rank 2
Iron
Iron
Iron
Ruksana
Top achievements
Rank 2
Iron
Iron
Rakesh
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?