jQWidgets Forums
Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
Author
-
May 3, 2013 at 7:30 am in reply to: Grid with Durandal and knockout Grid with Durandal and knockout #20519
Hi Peter
Is that optional ..can I use my own checkbox + buttons ?
Thanks
Shai
May 3, 2013 at 2:13 am in reply to: Grid with Durandal and knockout Grid with Durandal and knockout #20506All right turns out the grid does work with Durandal. The reason for the error was that I was only adding the *grid*.js file along with the core file . But looks like there is a dependency on all the other widgets as well. This clearly can be refactored
April 30, 2013 at 5:34 am in reply to: Grid with Durandal and knockout Grid with Durandal and knockout #20290Not sure whats the matter with the editor. Here is the view and the js files
JS Files
<script src="/scripts/jquery-2.0.0.js"></script><script src="/scripts/knockout-2.2.1.debug.js"></script><script src="/scripts/sammy-0.7.4.js"></script><script src="/scripts/toastr.js"></script><script src="/scripts/Q.js"></script><script src="/scripts/breeze.debug.js"></script><script src="/scripts/bootstrap.js"></script><script src="/scripts/moment.js"></script><script src="/scripts/jqwidget/jqxcore.js"></script><script src="/scripts/jqwidget/jqxgrid.js"></script><script src="/scripts/jqwidget/jqxgrid.selection.js"></script><script src="/scripts/jqwidget/jqxgrid.edit.js"></script><script src="/scripts/jqwidget/jqxknockout.js"></script>
View
<div data-bind="jqxGrid: { source: ReportData, disabled: false, autoheight: true, theme: 'classic', editable: true, selectionmode: 'singlecell', columns: [ { text: 'Status', dataField: 'status', width: 200 }, { text: 'User', dataField: 'user', width: 200, cellsalign: 'right' }, { text: 'Client', dataField: 'clientName', width: 200, cellsformat: 'c2', cellsalign: 'right' } ]}" id="jqxgrid"> </div> <table style="margin-top: 20px;"> <tbody data-bind="foreach: ReportData"> <tr> <td data-bind="text: status"></td> <td data-bind="text: user"></td> <td data-bind="text: clientName"></td> </tr> </tbody> </table> </div>
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)