Forum Replies Created
-
Author
-
Any Plans on fixing it?
February 21, 2017 at 7:23 pm in reply to: Filter a grid by comparing 2 fields Filter a grid by comparing 2 fields #91758gotcha, I understand now I will give it a try. thank you
February 21, 2017 at 3:16 am in reply to: Filter a grid by comparing 2 fields Filter a grid by comparing 2 fields #91728Hi,
My grid is already in virtual mode.
but I am not sure how I can make a filter that would compare A and C
I get the back end if I send a special filter code that I can then recuperate and generate the data based on that special filter code but how do I have that custom filter sent to the back endJuly 19, 2016 at 9:20 pm in reply to: interesting behavior with button interesting behavior with button #85872Thank you.
I had .mousedown instead of .click on the event
.click works as designedshimmoril, did you ever find a solution to this problem? I have a jqxgrid inside jqxtabs and the bottom of the grid is always cut off.
April 14, 2015 at 8:43 pm in reply to: setcellvalue after the gris is rendered setcellvalue after the gris is rendered #69892alright so after more research on this.
In virtual mode.
It seems that
rendered: callback seems to be called when the grid is rendered by first call, sort, filter so it works great to trigger my long running script therehowever it still does not work when the grid next and previous page are clicked.
Is there a call back for when these are clicked ?
In virtual mode it reloads the datasource ? Is there a call back there that can be used ?April 14, 2015 at 2:59 pm in reply to: setcellvalue after the gris is rendered setcellvalue after the gris is rendered #69885there see we are getting somewhere with AJAX. The problem is that I need to do the setCellValue AFTER the long script or AJAX has ran.
So I can’t do it inside ready:
OR I have to leave the long running script inside ready:If I put the long running script in an AJAX somewhere in ASINC true I also have to put the setCellValue there
so yes ready is safe. let’s say it hard and loud. ready is safe.
However per the long running script I cannot put it in ready so where can I put it as well ?When we use virtual mode and there is a sort, then a call back is triggered.
What callback is triggered when a page button is called ?
April 14, 2015 at 8:53 am in reply to: setcellvalue after the gris is rendered setcellvalue after the gris is rendered #69857here
run this in chromethe grid does not display till the large loop (simulating a long running call)
this is a long running script on purpose to simulate or problemWe need to
– 1 completely display the grid
– 2 after the very long loop (simulating a long running call) update the cellValueApril 14, 2015 at 7:10 am in reply to: setcellvalue after the gris is rendered setcellvalue after the gris is rendered #69844ok so where do I put setCellValue for it to work in virtual mode ?
Also the fact that it is in virtual mode does not explain the browser not rendering of the grid in chrome and IE
Also the setcellvalue is indeed working fine on the first loaded page
I have added a wait of 0.3 second and that forces the grid to then render (see bellow).
have you watched the video I posted above to see the behavior?What is upsetting is that I feel being completely being dismissed by support here.
We come here for help. not to get smart comments.
I took the time to make a video to show the problem. I took the time to post code.
and you give me a 1 line answer without even addressing why there is this lag in loading the grid on the video.
Then you tell me that in Virtual Mode it will not work with ready. great but you of course do not tell me where I then have to put it for it to work.
I am asking you how to make it work and what I get from you is the way I did it will not work….. I know that. Guess what. That’s why I am here asking for help.
Have you watched the video?
Can we get more than a 1 line answer dismissing me?ready: function() {
setTimeout(function () {
var data = $(‘#jqxgrid’).jqxGrid(‘getrows’);
for (var i = 0; i < data.length; i++) {
expandData.push(false);
var Row = data[i];
// ——————————————-
// let’s load extra data
// ——————————————-
$.ajax({
url: “/inventory/dowehavethebuyboxajax”,
type: “POST”,
cache: false,
async: false,
data: Row,
success: function(response) {
if(response==1) {
$(“#jqxgrid”).jqxGrid(‘setcellvalue’, i, “dowehavebuybox”, ““);
} else {
$(“#jqxgrid”).jqxGrid(‘setcellvalue’, i, “dowehavebuybox”, “”);
}
},
});
}
}, 300);April 14, 2015 at 6:41 am in reply to: setcellvalue after the gris is rendered setcellvalue after the gris is rendered #69837and one more to add while I am at it.
In virtual mode (we are using virtual mode)
Ready is not triggered again on datasource update.
For example when you go to next page in virtual mode. Ready is not triggered a 2nd timeApril 14, 2015 at 6:37 am in reply to: setcellvalue after the gris is rendered setcellvalue after the gris is rendered #69835for note. it is rendering fine on Firefox.
Not on chrome
Not in IEApril 14, 2015 at 6:22 am in reply to: setcellvalue after the gris is rendered setcellvalue after the gris is rendered #69832did you look at my post peter?
I am using “setcellvalue” in “ready”
have you looked at the videothe grid is NOT rendering on ready
I did put setcellvalue in the ready function.
Do you even read these post or replies we post ?April 14, 2015 at 5:44 am in reply to: grid in virtual mode and bulk edit? grid in virtual mode and bulk edit? #69825it seems that there should be a way to pass or to memorize the query so that if the user does select all for example that we can run an update on all the rows that match the previous condition clauses
April 14, 2015 at 3:19 am in reply to: setcellvalue after the gris is rendered setcellvalue after the gris is rendered #69821Hi Peter,
Looks good on paper but in practice not for me:
https://youtu.be/fpw4BXiWf7Uin the video you can see the grid loads almost instantly. Then the Loading Gif stops to spin.
This is when we load the extra data via Ready as bellow.ready: function() {
var data = $(‘#jqxgrid’).jqxGrid(‘getrows’);
for (var i = 0; i < data.length; i++) {
expandData.push(false);
var Row = data[i];
// ——————————————-
// let’s load extra data
// ——————————————-
$.ajax({
url: “/inventory/dowehavethebuyboxajax”,
type: “POST”,
cache: false,
async: false,
data: Row,
success: function(response) {
if(response==1) {
$(“#jqxgrid”).jqxGrid(‘setcellvalue’, i, “dowehavebuybox”, ““);
} else {
$(“#jqxgrid”).jqxGrid(‘setcellvalue’, i, “dowehavebuybox”, “”);
}
},
});
}
….So the problem is that the grid is not being rendered when ready
It should load the grid that has another loading gif in the cell and as the cell data is pulled via ajax it should then load and replace the cells as the data comesApril 4, 2015 at 2:46 am in reply to: grid in virtual mode and bulk edit? grid in virtual mode and bulk edit? #69558right ok but that does not help me.
we have a large table (100,000 rows)
so you tell us to use Virtual Mode.But then we can’t edit multiples rows
it’s a catch 22 here you say to do A but we can’t do B you say to do B but we can’t do A
it would be nice to get help on how others are dealing with these challenges rather than BSing me that it’s by design.
We don’t ask questions here to get the run around.
We ask questions to get answers to technical chalenges -
AuthorPosts