jQWidgets Forums
Forum Replies Created
-
Author
-
Referring to the Demo you mentioned, I have a question regarding the following code snippet:
setTimeout(() => { var data = generatedata(500000); var source = { localdata: data, datatype: "array", datafields: [ { name: 'firstname', type: 'string' }, { name: 'lastname', type: 'string' } ] }; var dataAdapter = new $.jqx.dataAdapter(source); $("#jqxgrid").jqxGrid( { width: 420, source: dataAdapter, columns: [ { text: 'First Name', datafield: 'firstname', width: 200 }, { text: 'Last Name', datafield: 'lastname', width: 200 } ] }); }, 1)
What does
1
means just before the closing brace in the above code?October 13, 2016 at 5:05 pm in reply to: Adding some sort of notification showing multiple entries Adding some sort of notification showing multiple entries #88165Ok, so I can see the data now. Here is the JSFiddle. Although it has some errors but I believe it’s good for our discussion purpose. Could you now tell me where exactly notification part is playing its role in the jqxGrid?
October 6, 2016 at 2:15 pm in reply to: Adding some sort of notification showing multiple entries Adding some sort of notification showing multiple entries #87968Can you tell me where exactly is “../sampledata/orders.xml” located so that I can copy the contents and place it in my dropbox public folder? I can’t find the contents of the file.
October 4, 2016 at 3:31 pm in reply to: Adding some sort of notification showing multiple entries Adding some sort of notification showing multiple entries #87902So basically I should only be using my local testing and not JsFiffle one and should be using absolute URL ?
October 3, 2016 at 1:55 pm in reply to: Adding some sort of notification showing multiple entries Adding some sort of notification showing multiple entries #87869Sorry, I pasted wrong JSFiddle. Here is the one I was referring to.
September 30, 2016 at 2:21 pm in reply to: Grid showing two span tags Grid showing two span tags #87823Removing every CSS might mess up other things. Why do you think that this is a CSS issue?
September 30, 2016 at 2:15 pm in reply to: Adding some sort of notification showing multiple entries Adding some sort of notification showing multiple entries #87822Okay, can you tell me why the JSFiddle is not showing any data after copy and paste? I don’t quite understand what
map: 'm\\:properties>d\\:ShippedDate'
is doing which appears to be responsible for pulling data?September 29, 2016 at 4:22 pm in reply to: Adding some sort of notification showing multiple entries Adding some sort of notification showing multiple entries #87804Hi Dimitar,
For some reason, I still can’t figure out what different the jqxGrid shows on this link :
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/customizededitors.htm?arctic
Because I don’t see any icon as soon as I access the above link. Or may be I didn’t understand properly what you were trying to explain. Please clarify.
Thanks
September 23, 2016 at 2:21 pm in reply to: Scroll Bar doesn't works in jqxCombobox Scroll Bar doesn't works in jqxCombobox #87662Hi Histro,
I have tried both the approaches and it still doesn’t shows the scroll bar. Here is my updated JSFiddle with the property you mentioned completely removed.
Thanks
September 22, 2016 at 6:14 pm in reply to: Grid showing two span tags Grid showing two span tags #87639Thanks Hristo for your reply. I don’t think any additional source could manipulate the classes there.It is quite strange that it’s working in JSFiddle and not in my webapp. The highlighted class isn’t getting added. even if it doesn’t clear the previous state, it should be adding third span tag with the class = highlighted. Is there a way to debug? I tried adding console.log
console.log ("Check for highlighted:" +highlighted);
but it looks like it’s not moving forward from the previous state and still contains two span tags.Thanks. Is there a way to limit the number of records getting displayed with
autoheight: true,
. I mean, if there are 50 records, I don’t want the grid to show 50 records with theautoheight: true,
feature. Instead I would like to show may be 5 records and if there are less than 5 records, then probably, I can use theautoheight: true,
feature. Please advise.September 22, 2016 at 3:16 pm in reply to: Adding some sort of notification showing multiple entries Adding some sort of notification showing multiple entries #87635Hi Dimitar,
Thanks for the link. I don’t see any thing different on that link. The answer mentioned over there doesn’t seems to answer the question because I still have to click on each cell under the “Shipping Country” to figure out which one has drop down menu and which on doesn’t. Can you provide more concrete answer?
Thanks
September 20, 2016 at 8:56 pm in reply to: attempt to remove a row jqxgrid attempt to remove a row jqxgrid #87558Thanks Histro for example. One last question, why have you used
cl(rowid)
inside deleterow method? What does it indicates? ThanksSeptember 19, 2016 at 2:12 pm in reply to: Bootstrap Information Icon not showing next to heading Bootstrap Information Icon not showing next to heading #87492Thanks. Why is it just showing the title on hover and not the
data-content
?September 15, 2016 at 3:25 pm in reply to: attempt to remove a row jqxgrid attempt to remove a row jqxgrid #87359Thanks Hristo. I tried doing what you suggested and added the id as follows in the following JSFiddle but it didn’t work. Am I missing anything?
var newSource = { localdata: array, datafields: [{ name: 'name', type: 'string', map: 'key', id: 'name' },
And secondly, if I have to use the
getboundrows
as per the documentation below, then in the case when we don’t know which row we need to delete, I mean the row name can be anywhere in the list so it won’t be possible to use something likerows[0]
for push, right?var rows = $(“#jqxgrid”).jqxGrid(‘getboundrows’);
// populate an array with the first and second row ids. “uid” is the row’s id.
var rowIDs = new Array();
rowIDs.push(rows[0].uid);
rowIDs.push(rows[1].uid);
// delete the first and second rows.
$(“#jqxgrid”).jqxGrid(‘deleterow’, rowIDs); -
AuthorPosts