Telerik Forums
Kendo UI for jQuery Forum
0 answers
82 views
Hi

Is it possible to change the destination ul (k-upload-files k-reset) of uploaded files?

Thanks
Raffael
Top achievements
Rank 1
 asked on 13 Jul 2012
1 answer
165 views
Hi, I have another question and probably stems from my not accurately reading the documentation. Json gives me a date in the form:
{"ab_Id":"3",
"pr_Nazwa":"Subiekt GT",
"ab_Klucz":"fjo3r-3reft-et3fo-3rtt3-fwef2",
"adr_NazwaPelna":"ABC s.c. Sklep spo\u017cywczy",
"ab_DataDo":{
             "date":"2012-04-04 00:00:00",
             "timezone_type":3,
             "timezone":"UTC"
},
"adr_NIP":"894-56-53-563"},

How do I appeal to the variable $ { ab_DataDo } in the template assumed value of the field "date". Currently, my schema looks like this:

schema: {
                    model: {
                        fields: {
                            ab_Id: { type: "number" },
                            pr_Nazwa: { type: "string" },
                            ab_Klucz: { type: "string" },
                            adr_NazwaPelna: { type: "string" },
                            ab_DataDo: { type: "date"  },
                            adr_NIP: { type: "string" }
                        }
                    }
                },

The question
is probably pretty damn trivial.

Regards/Pozdrawiam
Paweł Kasztelan
Paweł
Top achievements
Rank 2
 answered on 13 Jul 2012
1 answer
125 views

I want to create a grid where the data for the grid comes from a remote datasource but then is re-packaged by a javascript function after the data arrives but before it is displayed (repackaged means some rows are dropped and only some fields are displayed).  The grid needs to show a loading gif (as per usual) while waiting for the remote datasource and javascript function to complete processing.  What is the right way to set this up?   

This sort of thing (below) for example doesn’t work, because the processData() function completes without waiting for the remote datasource to return its data, plus the grid isn’t aware it needs to invoke its loading.gif.

var dataSource = new kendo.data.DataSource({
                        transport: {
                            read: {
                                    url: "REMOTE URL
                                }
                            }
                        }
                    });

function processData() {
    dataSource.read();
    var dataTobeProcessed = dataSource.data();
    ...
    return processedData;
}

$("#grid").kendoGrid({
                        dataSource: {
                            data: processData() 
                        },
                        columns: [ { …} ]
                        
                    })

Rosen
Telerik team
 answered on 13 Jul 2012
0 answers
227 views
Scenario: We have a page on which there are multilevel kendo window opening in an iframe.
For eg:If i open a window,it might have child windows,ideally the child windows should open as a individual entity,but what is happening my case child pop-pup get's appended to parent pop-up thereby restricting the movement of pop-up inside the parent pop-up.
My requirement is that i require pop-up to take grid as parent and should open as individual entity, so that i can move the pop-up outside the parent pop-up window.

Kindly let me know if there is any way to handle my scenario.
Mangesh
Top achievements
Rank 1
 asked on 13 Jul 2012
1 answer
240 views
Hi,

The SplitView control is very cool. Is there any plan in the future that allows SplitViews to be nested in another view (such as TabView)? All our requirements (and designs) are currently based on this (see attached screenshot for example). Alternatively is there another way that 2 views can be hosted on same screen in a master/detail fashion?

Thank you.
Alexander Valchev
Telerik team
 answered on 13 Jul 2012
1 answer
738 views
Hello,

I notice that kendo.common.min.css contains classes named "editor-field" and "editor-label" that conflict with ASP.NET MVC's scaffold-generated CSS classes.  Was this an oversight or intentional?
Dimo
Telerik team
 answered on 13 Jul 2012
0 answers
105 views
Hi,

I have a kendo Window, where the close, maximize , minimize icons are not getting displayed properly.
This occured when I made a change in the css(common.min.js and black.min.js), where I changed the k- components to a- components. I made the change in kendo.web.js and kendo.min.js. But everything works fine except for the icons for close, minimize, maximize and their respective functionality. Can anyone tell me where else would i need to make the respective changes.
Pooja
Top achievements
Rank 1
 asked on 13 Jul 2012
0 answers
95 views
I'm implementing the kendo.drag component on the endless scroll. The idea is to auto-hide the nav bar and tab strip on scroll up and re-show on scroll down (Like some native apps are doing.)

This code seems to work pretty well on the phone but when I test in a browser the page won't scroll. I know the events are being fired when I add alerts but the page stays unscrollable. Any ideas?

Thanks.

function hideNavBarsOnScroll() {
 
    var ggPosn = '0';
    var log = '';
    var drag = new kendo.Drag($('#endless-scrolling'), {
        start: function (e) {
            if (e.y) {
                ggPosn = $('#endless-scrolling').offset().top;
            }
        },
        move: function (e) {
            if (e.y) {
                if ($('#endless-scrolling').offset().top < ggPosn) {
                    if ($('#homeview header').is(':visible')) {
                        $('#homeview header').slideUp('slow');
                        $('#homeview .km-footer').attr('style', 'position:absolute;').animate({ 'bottom': '-' + $('#homeview .km-footer').height() + 'px' }, 'slow', function () { });
                    }
                } else {
                    if ($('#endless-scrolling').offset().top > ggPosn) {
                        if ($('#homeview header').is(':visible') == false) {
                            $('#homeview header').slideDown('slow');
                            $('#homeview .km-footer').attr('style', 'position:absolute;').animate({ 'bottom': '0px' }, 'slow', function () { });
                        }
                    }
                }
            }
        },
        end: function (e) {
            if (e.y) {
                ggPosn = $('#endless-scrolling').offset().top;
            }
        }
    });
 
}
Ben
Top achievements
Rank 1
 asked on 13 Jul 2012
2 answers
242 views
it seems like there might be some issues with the kendo.common.min.css stylesheet, where it affects objects that are not just kendo related?  Implementing this stylesheet has changed the ordering of several of my tables and divs that are NOT involved with kendo in any way.  I'm using 2012.2.710.  I'm by no means a CSS expert, but i was able to narrow down what was causing the issue by removing each of my stylesheets one by one. 

Shouldn't this stylesheet only affect kendo controls?
Sean
Top achievements
Rank 1
 answered on 12 Jul 2012
0 answers
152 views
I have tried the following:

var tourt = kendo.template('<tr><td>${TotalRegistration=MemberRegistrationCount+GuestRegistrationCount}</td></tr>');
var tourh = '<table id="tourg"><thead><tr><th># Registered</th></tr></thead></table>';

tourngrid = $('#tourg').kendoGrid({ rowTemplate: tourt }).data('kendoGrid');

$('#minUsers').kendoNumericTextBox();
$('#goFilter').click(function() {
            tourngrid.dataSource.filter({filter: { field:"TotalRegistration", operator:"ge", value:$('#minUsers').data('kendoNumericTextBox').value()}});
});

Amazingly the assignment in the row template still reports the correct number in the grid column.  But it does not execute the filter using that assigned variable defined in the template.

Is there a way to sum two columns and use the result in the grids filter?




Guy
Top achievements
Rank 1
 asked on 12 Jul 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
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
ContextMenu
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
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?