Hi guys
Didn't have a look at this in a while… kept putting it off as it wasn't that much of a show stopper. Anyway, I upgraded to the Alfa 2 release yesterday, hoping the problem would go away, but it didn't. It actually made it worse in a way because all the pages broke that used the grid inside UI Tabs. Many thanks for your work on the Alfa 2 release Tony :).
Hey Tony
Oh, THAT empty string you mean :)… the gridComplete event still doesn't fire. The loading message doesn't go away, so I'm thinking it's still in a loading state and gridComplete cannot be fired. I've decided to put my code outside the grid config and also added “loadui: 'disable'” to not display the loading message. Not sure if this is the ideal as I have no idea what I'm doing wrong.
Regards,
Roger
Hi Tony
Thanks for that. I did read the docs and that exact sentence.. I understood it to mean that the gridComplete will fire even if I don't have data to load. Basically relied on the “other processes” part. 🙂 I tried your suggestion, however, specifying the datatype as 'xmlstring' or 'jsonstring' and assigning datastr to '' throws a syntax error. If datastr is null, the loading message doesn't go away. The gridComplete event still doesn't fire. Here is what I have…
Seriously… you a star man… thanks!
beforeSelectRow: function(rowid)
{
Great! Demo site working… I'll update now now.
Thanks Tony, and again for this great plugin! 🙂
Hi
I changed my ajax call to be done synchronously and it now works like I expected it to work. The tab from cell1 does not take me out of edit mode. Cell2 has the value from the result of the ajax call and remains in edit mode :D. Yippee! If you guys have any ideas, straight off the bat, on why the asychrounous call might mess up the cell editing on the grid, please let me know. When i have more time to investigate, I'll post my findings here. Or if I missed something.. pls post a link to the answer. I'd still like to know if I can use 3.4 which I'm tentative doing seeing that the demo isn't working and my quick update to 3.4 rendered the same results.
Kind regards,
Roger
Hi
As I have the options for each dropdown in arrays already, I ended up doing a reverse lookup/search on the description of each to get the value. I then set each value, do the json_encode and send to the server page. Little extra legwork, but nothing compared to what this plugin has already done for me :D. If I am missing something tho, pls let me know 😉
Thanks again for this plugin.
Regards,
Roger
Hi Tony
Thanks. Yes I inspected the html at the time and I ended up playing with the classes to do what I needed for a new row. Also, the
Thanks again for the response.
Kind regards,
Roger
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top