jQWidgets Forums
Forum Replies Created
-
Author
-
February 25, 2015 at 4:03 pm in reply to: spreadsheet cell load data spreadsheet cell load data #67676
hello dimitar thank you for reply I will test
2.question
my vessel list data
[0] VesselID : 198 VesselName : OZAN4 [1] VesselID : 199 VesselName : ThunderBirth and my stock list data [0] StockID: 1 StockName: OIL [1] StockID: 2 StockName: OIL2
I show left the stock names? and if possible I can stock Id ?and question
3. this my user grid
window.GridUserDataSource = { datafields: [ { name: 'UserID', type: 'string' }, { name: 'Name', type: 'string' }, { name: 'Surname', type: 'string' }, { name: 'Email', type: 'string' }, { name: 'UserGroupName', type: 'string' }, { name: 'UserGroupID', type: 'string' }, { name: 'IsActive', type: 'bool' }, { name: 'Password', type: 'string' } ], addrow: function (rowid, rowdata, position, commit) { commit(true); }, deleterow: function (rowid, commit) { commit(true); }, updaterow: function (rowid, newdata, commit) { commit(true); }, localdata: GetUsers(), async: false, datatype: "array", id: 'UserID', } var dataAdapter = new $.jqx.dataAdapter(window.GridUserDataSource, { formatData: function (data) { data.name_startsWith = $("#searchField").val(); return data; } } ); $("#GridUser").jqxGrid( { width: '100%', source: dataAdapter, height: '700px', pagesize: 30, pagesizeoptions: [25, 50, 100], theme: "Web", editable: false, columns: [ { text: 'Name', datafield: 'Name', width: '20%', }, { text: 'Surname', datafield: 'Surname', width: '20%', }, { text: 'Email', datafield: 'Email', width: '20%', }, { text: 'User Group', datafield: 'UserGroupName', width: '20%' }, { text: 'Active', datafield: 'IsActive', width: '20%', threestatecheckbox: false, columntype: 'checkbox' }, ], });
I want to get the data like this
thank you very much
February 25, 2015 at 1:56 pm in reply to: spreadsheet cell validation spreadsheet cell validation #67657thank you dimitar
Hi peter
Thank you for replyFebruary 13, 2015 at 12:29 pm in reply to: grid in dropdownlist get value grid in dropdownlist get value #67087hi dimitar
thank you for reply
good sampleshi dimitar
than you for replyhello peter
ok
I’ll tell you more simpledoes not work in the dropdownlist popup window Focus has the problem
I’m using bootstrap modal plugin
example
A similar problem
http://www.jqwidgets.com/community/reply/reply-to-jqxgrid-bootstrap-3-2-0-modal-filtering-input-text-box-is-not-focusing-5/Where will I use this code ? Can you give full example?
thank you$.fn.modal.Constructor.prototype.enforceFocus = function () { $(document) .off('focusin.bs.modal') // guard against infinite focus loop .on('focusin.bs.modal', $.proxy(function (e) { if (this.$element[0] !== e.target && !this.$element.has(e.target).length) { if ($(e.target).parents().hasClass('jqx-popup')) return true; this.$element.trigger('focus') } }, this)); }
hi peter
I’ve tried it
I’ve tried it I see the symbol, but I see symbol but I do not see I am enter numbervar renderer = function (row, columnfield, value, defaulthtml, columnproperties) { return '<span>%</span>'; }
{ text: 'TAX', datafield: 'TAX', width: '20%', cellsformat: 'c2', aggregates: ['sum', 'avg'], cellsrenderer: renderer },
and
I just want to change the symbol in the cell and bottom total
Can I do with the cellsrenderer?
thank youhi peter
Thanks for the reply
but I do not want to use by country
I just want to show symbol rate
If you think I do not understand please you give me examples?
andHow can I use special characters in the cell?
I just want to show it in the cell “%”
for taxes
example
numberInput : %5thank you
grid in drop down code
var data = GetInvoiceItems();
columns: [ { text: "Invoice Item", width: '40%', datafield: "InvoiceItem", columntype: 'dropdownlist', createeditor: function (row, column, editor) { editor.jqxDropDownList({ source: data, displayMember: "Name", valueMember: "InvoiceItemID", promptText: "Please Select Item:" }); } , cellvaluechanging: function (row, column, columntype, oldvalue, newvalue) { if (newvalue == "") return oldvalue; }
or I tried it
deleteButton.click(function (event) { if (!deleteButton.jqxButton('disabled')) { var selectedrowindex = $("#InvoiceItemGrid").jqxGrid('getselectedrowindex'); var rowscount = $("#InvoiceItemGrid").jqxGrid('getdatainformation').rowscount; if (selectedrowindex >= 0 && selectedrowindex < rowscount) { var id = $("#InvoiceItemGrid").jqxGrid('getrowid', selectedrowindex); var commit = $("#InvoiceItemGrid").jqxGrid('deleterow', id); } } });
February 10, 2015 at 9:02 pm in reply to: status bar in button not showing status bar in button not showing #66853hi peter
thank youI use regular popup div
<div id=”popupDiv”>/<div>
and its working
but if I use botbox plugin or bootstrap modal.. dropdown filter does not work
why it does not work bootstrap modal ?hello
I did upgrade and worked on the main page
but does not work on the popup page and
and search click is not working
popup page html
<script src="/Assets/jqwidgets/scripts/jqx-all.js"></script> <link href="/Assets/jqwidgets/css/jqx.base.css" rel="stylesheet" /> <link href="/Assets/jqwidgets/css/jqx.arctic.css" rel="stylesheet" /> <link href="/Assets/jqwidgets/css/jqx.metro.css" rel="stylesheet" /> <script src="/Assets/scripts/BeginLoad/CompanyBeginLoad.js"></script> <script src="/Assets/scripts/ViewPage/CompanyContact.js"></script> <script src="/Assets/scripts/ViewPage/Company.js"></script>
popup view load for ajax code and I am using botbox plugin
Could the problem botbox plugin?function LoadPopupView(path,title, css, icon) { $.ajax({ url: path, type: 'GET', datatype: 'html', async: false, contentType: 'application/html', success: function (data) { bootbox.dialog({ title: '<label style="margin-left:20px">'+title+'</label><img class='+icon+'></img>', animate:true, message: data, buttons: { main: { label: "Close", className: "btn-primary" } }, className: css }); } }); }
and I tried it but it did not work
var vessels = GetVessels(); var adaptersource = { localdata: vessels, datatype: "json", datafields: [ { name: "Name" }, { name: "VesselID" } ] }; var dataAdapter = new $.jqx.dataAdapter(adaptersource); $("#dropVesselList").jqxDropDownList({ selectedIndex: 0, source: dataAdapter, promptText: "Select Vessel", displayMember: "Name", valueMember: "VesselID", height: 22, placeHolder: "", filterable: true, enableBrowserBoundsDetection: true, dropDownHeight: 200, theme: "web", });
search does not work
January 27, 2015 at 8:06 pm in reply to: grid auto complete contains search grid auto complete contains search #66104I look this
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/toolbar.htm?web
but how can I do localdata filter search ? -
AuthorPosts