Telerik Forums
Kendo UI for jQuery Forum
1 answer
171 views
Hello,

We need to create a grid using kendoui as kendoui gives output in html5 and works in offline mode.

Please suggest us documentation, videos by which we can get idea about grid development which works in offline mode.

Please check our requirements as below.

We need to develop a grid which at first time bind data from datasource but once when message received need to
update grid by adding rows to grid.

We are using signalR to acknowledge the browser regarding data received.

Also when user is in offline mode,  need to acknowledge user regarding offline and once when user be on line, update
grid with all data available from server.

Please suggest us how should we go to accomplish this.

Thank you

Atanas Korchev
Telerik team
 answered on 25 May 2012
1 answer
100 views
Is there planned support for JSON-RCP for DataSource? At least something that does batches? Using REST is fine for example code, but otherwise can result in many connections, etc. While a bigger problem in mobile, it still makes a difference in desktop. ExtDirect and json-rcp both seem to fit the bill.
Atanas Korchev
Telerik team
 answered on 25 May 2012
15 answers
1.9K+ views
Hello All,

I'm using a batch edit grid with an editor template that is very similar to the editor template demo on your site.  I'm getting some strange behavior when editing the dropdownlist cell.  The difference between my situation and the demo is that ProductID in the demo is a non-nullable numeric column, but in my case it is nullable.  I am capturing the grid save event just to verify that something is happening.  It works fine when editing a cell that already has a value selected for ProductID.  But for new rows or for cells where there is no ProductID changing the value doesn't persist the change back to the grid.  The save event doesn't fire in this case.  If I update my model so that the property is non-nullable and returns a value of -1 where I would have been returning a null then it works.  So it feels like there's some weird behavior with the DropDownList, but maybe there is something I'm doing wrong.  Let me know if you have any ideas.

My source code is pretty messy right now, but I could try to hack up the editor demo to match my situation if that would help.

Thanks,
Brian
Georgi Krustev
Telerik team
 answered on 25 May 2012
12 answers
3.5K+ views
I've enabled filtering on a few columns. However, I don't see how the filtering is supposed to work. There has been no change in the appearance of the header (or the headers of any other columns) and there is no apparent way to filter any columns. Am I doing something wrong or looking in the wrong place for filtering? Here's the code:

    $("#grid").kendoGrid({
        dataSource: {
            type: "json",
            transport: {
                read: {
                    url: "Home/GetWorklist",
                    dataType: "json",
                    type: "GET",
                    contentType: "application/json; charset=1-8"
                }
            },
            pageSize: 15,
            schema: {
                data: "data",
                total: "total"
            }
        },
        columns: [
            { title: "Part Number", field: "PartNumber", template: "#= PartNumber #" },
            { title: "Noun", field: "Noun", filterable: true },
            { title: "Procurement Code", field: "ProcurementCode", filterable: true },
            { title: "Cage Code", field: "CageCode" },
            { title: "Responsible", field: "Responsible" },
            { title: "SONIC Queue", field: "SonicQueue" },
            { title: "SONIC Status", field: "SonicStatus" },
            { title: "Priority", field: "Priority" },
            { title: "DIS", field: "Dis", width: 50 },
            { title: "QIS", field: "Qis" },
            { title: "Status", field: "Status" },
            { title: "Estimator", field: "Estimator" },
            { title: "Related Parts", field: "RelatedParts" }
        ],
        pageable: true,
        sortable: true
    });
Hasindu
Top achievements
Rank 1
 answered on 25 May 2012
0 answers
67 views
Can I manually append column after I init the Grid?
Chris
Top achievements
Rank 1
 asked on 25 May 2012
5 answers
638 views
Hi,

I want to add a submit form to panel bar. when I click submit button it will be submit and display result inside panel. But, I do not know how to do it.

Can you help me please?

Thanks,

for example: 
<ul id="panelBar">
<li>
                    Add User
                   
                     <div>
<form>
<input type="submit" name="btnSubmit" value="Submit" />
</form>
</div>


</li>
<li>
  Update User
</li>
</ul>
Swarup
Top achievements
Rank 1
 answered on 25 May 2012
0 answers
110 views
I have list products and I want define 3 columns and 5 rows with ListView, how to to do with ListView. Thanks

Quang
Top achievements
Rank 1
 asked on 25 May 2012
0 answers
145 views
Hi,

I'm trying to make some exercises, specifically one like the Virtualization of remote data Example, but I have a problem:
When I set
scrollable: {
  virtual: true
}

the Grid is not scrollable... when setting it to virtual : false, I can scroll it but more data isn't retrieved from server. I'm attaching my code.

Thanks.
José Antonio
Top achievements
Rank 1
 asked on 25 May 2012
0 answers
101 views
I can bind data to kendo ui combobox but I don't know how to get datavaluefield when form submit, someone help me please or if you know tutorials please tell me.

Thank you for reading my topic
Quang
Top achievements
Rank 1
 asked on 25 May 2012
0 answers
452 views
Following is my header for a view and what I want to achieve is to when I click on the 'but_add_to_favorites' button, the button changes its data-icon (initially set to 'favorites'), say, to 'trash'. 


<div data-role="view" id="business_info" data-title="Business" data-show="BusinessInfo_Init" data-layout="mainLayout">
        <header data-role="header">
            <div data-role="navbar" id="business_navbar">
                <a class="nav-button" data-align="left" data-role="backbutton">Back</a>
                <span data-role="view-title">Business</span>
                <a id="btn_add_to_favorites" data-role="button" data-align="right" data-icon="favorites" onclick="favorites_clicked()"></a>
            </div>
        </header>
....
....

function favorites_clicked() {
            alert('hm');
            $("#btn_add_to_favorites").attr("data-icon", "trash");

as it shown me the 'hm' alert, this fires ok but nothing happens with my attempt to change the data-icon attribute to 'trash'.

Any guidance would be much appreciated.

Thanks,

John C 
Joon
Top achievements
Rank 1
 asked on 25 May 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
Drag and Drop
Application
Map
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
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
TimePicker
FloatingActionButton
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
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?