jQWidgets Forums
Forum Replies Created
-
Author
-
July 17, 2014 at 8:15 pm in reply to: I do not see current cell updated value instant I do not see current cell updated value instant #57384
hi peter
Do you support you in real time or signalR ?
I’m using c # and mssql2008 database ( localserver )July 17, 2014 at 12:19 pm in reply to: I do not see current cell updated value instant I do not see current cell updated value instant #57358I tried them but did not work
success: function (result) { status = result; if (result) { window.PersonGridSource.localdata = result; $(“#PersonGrid”).jqxGrid(‘refresh’); } },
July 17, 2014 at 12:01 pm in reply to: I do not see current cell updated value instant I do not see current cell updated value instant #57357edit :
How can I see instant data on another page without ctrl+f5 ?hi peter
but Example you gave is not the samehttp://jsfiddle.net/_stephan_/Q92wz/2/
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/toolbar.htm?arctic
hi peter
I did not understand you,Is there an error in the above code?
Or you Can you give me a sample code? ( html page )
thank youthank you
I see this article
Note: To run a sample that includes data binding, you must open it via “http://…” protocol since Ajax makes http requests.
hi peter
I see this example code
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/rowselection.htm?classicI did select row entry 150 ..
but Auto scroll did not work and did not focus
thank you peter
hi Dimitar
thanks but How do I make the first line?
I want to this.
hi dimitar
I’ve added this Page but not working
and I’ve changed jqx.base.css in.jqx-listitem-state-normal not working
.jqx-listitem-state-normal { white-space: nowrap; padding: 3px; margin: 1px; padding-left:10px; border: 1px solid transparent; outline: none; visibility: inherit; display: inherit; text-align: left; overflow: hidden; position: absolute; left: 0; top: 0; cursor: default; }
thank you Dimitar
hi I fixed problem
thank youfunction WebLanguage() { var jsonObj = new Array(); var url = "/Content/Xml/Language.xml"; $.get("Content/Xml/Language.xml") .done(function (data) { jsonObj = $.xml2json(data); var source = { dataType: "json", dataFields: [ { name: 'CountryId', type: 'number' }, { name: 'Country', type: 'number' }, { name: 'CountryCode', type: 'string' }, { name: 'image', type: 'string' }, { name: 'Zone', type: 'string' } ], localdata: jsonObj, id: 'CountryId', root: 'Language' }; var dataAdapter = new $.jqx.dataAdapter(source, { autoBind: true }); dataAdapter.dataBind(); $('.language').jqxComboBox({ selectedIndex: 0, theme: 'energyblue', source: dataAdapter, displayMember: "image", valueMember: "CountryId", renderer: function (index, label, value) { var datarecord = jsonObj.Language[index]; var img = '<img height="72" width="72" src="' + datarecord.image + '"/>'; var table = '<table style="min-width: 150px;"><tr><td>'+img+'</img>'+'</td></tr><tr><td></table>'; return table; } }); });
sorry my english is not good
I do not want to create multiple tables” You would like to display Table tags within a ComboBox item? ”
yes how can I do?ok thank you peter
I fix the problem but Have another problemvar url = "/Content/Xml/Language.xml"; var source = { dataType: "xml", dataFields: [ { name: 'CountryId', type: 'number' }, { name: 'Country', type: 'number' }, { name: 'CountryCode', type: 'string' }, { name: 'image', type: 'string' }, { name: 'Zone', type: 'string' } ], id: 'CountryId', root: 'Languages', record: 'Language', url: url }; var dataAdapter = new $.jqx.dataAdapter(source, { async: false }); $('.language').jqxComboBox({ selectedIndex: 0, theme: 'energyblue', source: dataAdapter, itemHeight: 50, height: 25, width: 270, renderer: function (index, label, value) { var table = '<table>'; for (var i = 0; i < dataAdapter.records.length; i++) { var img = '<img height="72" width="72" src="' + dataAdapter.records[i].image + '"/>'; table += '<tr><td>' + img + '</td></tr>'; } table += '</table>'; return table; } });
Creating multiple tables
-
AuthorPosts