jQWidgets Forums
Forum Replies Created
-
Author
-
January 21, 2015 at 8:26 am in reply to: Unable to assign a item a second one Unable to assign a item a second one #65729
Thank you for your answer.
Best Regards,
EmanuelApril 15, 2014 at 12:06 pm in reply to: Date – Problem with cellsformat Date – Problem with cellsformat #53109Ah, okay. Yes, I tried also the format attribute after reading the example but this does not work either.
I try to find a causative difference between the grids that prevents the cellformatting and will hopefully post it here.
Thanks,
EmanuelApril 15, 2014 at 8:46 am in reply to: Date – Problem with cellsformat Date – Problem with cellsformat #53098Hi Peter,
thank you. I originally tried to format the date on the server side (same format “dd.MM.yyyy HH:mm:ss”) with these results:
– The “normal working” grids display it correctly and the grid recognizes this field as date type (date filter dialog on that column)
– The “problematic” grid displays it correctly but the grid does not recognize this field as date type but as string (the filter dialog has string operating filter conditions)Also: The “normal working” grids don’t seem to require the date to be preformatted like I wrote in the first post.
Thanks again for any idea,
EmanuelFebruary 21, 2014 at 10:52 am in reply to: Call cellsrenderer function in 'rowselect' Call cellsrenderer function in 'rowselect' #49868Okay, it was missing a call to updatebounddata.
Thus, the correct call is:
$("#transactions").on('rowselect', function(event) { setDocumentAsSeen(event.args.row, 'document'); $(this).jqxGrid('updatebounddata'); }); function setDocumentAsSeen(row, section) { $.ajax({ url : hostUrl + '/qs/setDocumentAsSeen/' + row.ormId + '/' + section }).success(function(msg) { if (msg == "success") { row.seen = true; } }); }
Thanks.
February 21, 2014 at 8:27 am in reply to: Call cellsrenderer function in 'rowselect' Call cellsrenderer function in 'rowselect' #49863Hi Dimitar,
thank you. Just updating the row field will call the cellsrenderer?
I tried this:
$("#transactions").on('rowselect', function(event) { setDocumentAsSeen(event.args.row, 'document') }); function setDocumentAsSeen(row, section) { $.ajax({ url : hostUrl + '/qs/setDocumentAsSeen/' + row.ormId + '/' + section }).success(function(msg) { if (msg == "success") { row.seen = true; } }); }
Setting the seen field to true does not call the cellsrenderer function. Am I missing something?
Thanks again,
Emanuel -
AuthorPosts