Telerik Forums
Kendo UI for jQuery Forum
0 answers
43 views
Hello,

I have a code like this:
<div id="wnd1">
    <div>Click me!</div>
    <script type="text/javascript">alert('executed 1');</script>
</div>
 
<script type="text/javascript">
    (function ($) {
        $("#wnd1").kendoWindow({
            height: "500px",
            width: "400px",
            modal: true,
            draggable: true,
            resizable: false,
            visible: false
        });
    })(jQuery);
</script>

And in this case alert is executed twice. First time because of initial script rendering and second when window is initialized.
Should it be such case and how to prevent it?

Also I can see this window during the second alert, is it ok that window shows and hides when "visible: false"?

Vladimir
Volodymyr Oliinyk
Top achievements
Rank 1
 asked on 13 Apr 2012
1 answer
271 views
I've had a request come in for a client for this feature and wondering on the best way to implement this with the Kendo Grid. I know the demos actually show this, but not actually within the filtering selectable options.

What I'd like is potentially a custom filter (say a customName instead of number/string etc) that I can create, then call on each column to pre-populate certain row data and somehow call this into the Grid API to filter on the selected value. Such as, say, a number will allow you to select a number, a customName attribute will allow you to select from a dropdown list of certain elements.

Is this possible if I delve into the nitty gritty of the Grid API?
Iliana Dyankova
Telerik team
 answered on 13 Apr 2012
0 answers
54 views
Unable to view grid data component in firefox 3.0.19 version.
i am using Kendo UI v2011.3.1129 version.

Please assist me.

Thanks in Advance.
Atit
Top achievements
Rank 1
 asked on 13 Apr 2012
0 answers
111 views
Hi,

I've been using the last version with the MVVM and new DataSource, and I have a problem when adding an entity to a remote DataSource.

After sending the ajax request for adding a new entity, the response is merged with the entity.
This is done in dataSource._accept : 
if (type !== "destroy") {
models[idx].accept(response[idx]);

But the Model.accept will extends the model and will override all observable fields by the response from the server.
I have to modify the Model.accept method like this : 
             if (that instanceof ObservableObject) {
            that.init(data);
            } else {
                extend(that, data);
                if (that.idField) {
                    that.id = that.get(that.idField);
                }
            }

After the modification, my code works but I strongly believe it's not the good way.

Thanks in advance,

Laurent.


Laurent
Top achievements
Rank 1
 asked on 13 Apr 2012
0 answers
63 views
Unable to display Grid data component in firefox 3.0.19 version.
i am using Kendo UI v2011.3.1129 version.

Please assist me.

Thanks in Advance.

Atit
Top achievements
Rank 1
 asked on 13 Apr 2012
0 answers
78 views
Hello-

I'm trying to use Kendo grid and so far it's pretty good.  The one thing I don't heart about it is that when you do
$("#mydiv").kendoGrid( { dataSource: myJsonObjects })
it takes the explicit property name.  For a good user experience, CamelCasing isn't awesome.  Instead, I'd like to have my columns in English, so I would not want
"AccountName" and "ThisIsAColumnThatIsHardToRead"
but rather
"Account Name"  and "This Is a Column That Is Easy To Read".

So I walk my JSON objects and insert spaces in the property names (this is unusual but 'legal' in Javascript).  But when I hand this revamped object list to Kendo, I get an error:
Invalid template: '<tr><td>#=Account
Name"</td><td>#=This Is A Column That Is Easy To
Read</td></tr>'enerated code:'var
o,e=kendo.htmlEncode;with(data){o='<tr><td>'+(Account Name)
+'</td><td>' + (This Is A Column That Is Easy To Read) +
'</td></tr>';>return o;'
Triple
Top achievements
Rank 1
 asked on 13 Apr 2012
6 answers
241 views
Is there any documentation on the Model? I see it for DataSource, but I know there are things involved, but I cannot find a good source of info on it. Such as things we can decorate the individual fields with...
Hammad
Top achievements
Rank 1
 answered on 13 Apr 2012
4 answers
1.6K+ views
When I programmatically select a node using the select(node) method, the select event handler (applied when the TreeView was created) does not get called.
Miguel
Top achievements
Rank 1
 answered on 13 Apr 2012
2 answers
151 views
Hi,

Q: Is it possible to create tooltip for the column in grid by setting some property? if there is no property then how can we achieve that?
Q: Can we add row with data in grid? (Empty row insertion is there but i want to add a row with data)
Q: Can we adjust the width of grid column by setting (ex: width: adjustable) property?

Please post me the answer on my  id mahaveer_agrawal@infosys.com.

Regards
Mahaveer
mahaveer_agrawal@apple.com
Jayalakshmi
Top achievements
Rank 1
 answered on 13 Apr 2012
0 answers
71 views
Please suggest how can I place button/dropdown menu on Chart's layout? it can be on the top left and right corners of the chart.

Thanks!
Ilyas
Top achievements
Rank 1
 asked on 13 Apr 2012
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?