Flexigrid and JQuery 1.4

273 views
Skip to first unread message

misterakko

unread,
Jan 16, 2010, 6:23:35 AM1/16/10
to Flexigrid for jQuery
Yesterday JQuery 1.4 was released. I lazily tried it and I see it
breaks Flexigrid. As I'm heavily invested in Flsxigrid but a mediocre
JS programmer (I mostly work server-side, I have added facilities to
save user preferences via PHP+MySQLin my CMS), I'm a bit disapointed
but at a loss. Has anyone else made this experiment? Thoughts?

Regis Sabino

unread,
Jan 16, 2010, 6:48:12 AM1/16/10
to flex...@googlegroups.com
Try jqGrid at http://www.trirand.com/blog/,
Flexigrid is out of date, the plugin has discontinued in version 1.2.6

2010/1/16 misterakko <lu...@accomazzi.it>
--
You received this message because you are subscribed to the Google Groups "Flexigrid for jQuery" group.
To post to this group, send email to flex...@googlegroups.com.
To unsubscribe from this group, send email to flexigrid+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flexigrid?hl=en.






--
Sabino, Regis S.
Programmer - Web Designer - Full .NET Platform
(55) 11 8545-9314 / (55) 11 2456-7901


Enrico Icardi

unread,
Jan 16, 2010, 6:59:43 AM1/16/10
to flex...@googlegroups.com
On Jan 16, 2010, at 12:48 PM, Regis Sabino wrote:

Try jqGrid at http://www.trirand.com/blog/,
Flexigrid is out of date, the plugin has discontinued in version 1.2.6

jqGrid?
no thanks.
I really like flexigrid.


2010/1/16 misterakko <lu...@accomazzi.it>
Yesterday JQuery 1.4 was released. I lazily tried it and I see it
breaks Flexigrid. As I'm heavily invested in Flsxigrid but a mediocre
JS programmer (I mostly work server-side, I have added facilities to
save user preferences via PHP+MySQLin my CMS), I'm a bit disapointed
but at a loss. Has anyone else made this experiment? Thoughts?

--
You received this message because you are subscribed to the Google Groups "Flexigrid for jQuery" group.
To post to this group, send email to flex...@googlegroups.com.
To unsubscribe from this group, send email to flexigrid+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flexigrid?hl=en.






--
Sabino, Regis S.
Programmer - Web Designer - Full .NET Platform
(55) 11 8545-9314 / (55) 11 2456-7901


--
You received this message because you are subscribed to the Google Groups "Flexigrid for jQuery" group.
To post to this group, send email to flex...@googlegroups.com.
To unsubscribe from this group, send email to flexigrid+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flexigrid?hl=en.

// Enrico Icardi 

keepInTouch() {

$email  = " enrico...@gmail.com " ;
$skype = " ricricucit " ;
$mobile  = " +39 328 1221390 " ;

}

Lck

unread,
Jan 16, 2010, 9:38:25 AM1/16/10
to Flexigrid for jQuery
On Jan 16, 12:23 pm, misterakko <l...@accomazzi.it> wrote:
> Yesterday JQuery 1.4 was released. I lazily tried it and I see it
> breaks Flexigrid.

Are you sure? I have tried too and - while I still have to do some
more testing - it appears to be working just fine.
What exactly breaks in your case?

John Teague

unread,
Jan 16, 2010, 10:47:16 AM1/16/10
to flex...@googlegroups.com
I have also taken a look at this. I think it will not take a huge amount of work to bring the last version of Flexigrid up to speed. However, I moved to JqGrid a month or so ago since it looks like the former is in it's last version. I think you will find that JqGrid is quite well documented with a good API. It also fits well with JQuery UI.

misterakko

unread,
Jan 16, 2010, 11:35:36 AM1/16/10
to Flexigrid for jQuery

On Jan 16, 12:48 pm, Regis Sabino <regis.sab...@gmail.com> wrote:
> Try jqGrid

Thank you very much for trying to sell us a just-out-of-beta
commercial software, which nobody here was asking about. Also, please
notice that Flaxigrid works beautifully under jQuery 1.3.2 in my CMS.
Personally, I also need the possibility to add/remove columns (not
just rows) from the UI, and your script doesn't do that.

So, back to Flexigrid. @lck: what I see is an obscure Json error from
the PHP being called via Ajax. I'll look into it in more depth.

John Teague

unread,
Jan 16, 2010, 12:06:10 PM1/16/10
to flex...@googlegroups.com
Paulo has done great work with Flexigrid, and he deserves a lot of credit for taking the time to develop and maintain this grid. He makes no bones about the fact that he has a day job, and he has been very clear about his allowance of time to work on this project.

I don't think anyone was trying to "sell" anyone anything. JqGrid is an alternative. No one was suggesting that it was better than Flexigrid. That said, you wrongly asserted that JqGrid was commercial software. That's simply not true. Moreover, JqGrid does allow you to show/hide columns. Perhaps you just didn't read the documentation at: http://www.secondpersonplural.ca/jqgriddocs/index.htm. Please do a little research before you make claims like this.

http://www.secondpersonplural.ca/jqgriddocs/index.htm

For me, this is not a competition. If you like Flexigrid, which I use on a client web application myself, great! But that doesn't mean that there are not alternatives, like JqGrid that work just as well, if not better for certain applications. I have said this before, but one reason why I like JqGrid is because it is simply better documented. It does speed integration. Flexigrid would greatly benefit from a formal documentation/API, but I have been able to work through problem by looking at the source code and modifying where I need to.


Lee Perron

unread,
Jan 16, 2010, 6:19:00 PM1/16/10
to flex...@googlegroups.com

Sent from my Verizon Wireless BlackBerry


From: John Teague <john...@gmail.com>
Date: Sat, 16 Jan 2010 11:06:10 -0600
Subject: Re: Flexigrid and JQuery 1.4

Enrico Icardi

unread,
Jan 21, 2010, 6:44:21 PM1/21/10
to Flexigrid for jQuery
ok, i've to come back into the discussion....
It's true...it breaks.

I can't see what or why...JSON is passed regularly and i don't see any
errors in the console...
I just know i don't want to switch to jqGrid...but i really need to
have some work done in 5 days.
Lck...are you 100% sure it works for you?

Arnezami Arnezami

unread,
Jan 21, 2010, 11:26:21 PM1/21/10
to flex...@googlegroups.com
I have completely has understood how it works Flexigrid, really spent a day or two.
It turns out, JSON does not have to transmit both data, but it was enough to simply pass an object in a specific format. Based on its findings, I realized the dynamic addition of data in the table. After entering the data into a table, I need to send them to the server. In the table created in the memory object, which stores all data (table only displays graphically) and then serialize it to JSON and through ajax POST request submitted it to the PHP handler, where the serialized back and carried with the data I need action.


--- пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ ---
пїЅпїЅ пїЅпїЅпїЅпїЅ: Enrico Icardi <enrico...@gmail.com>
пїЅпїЅпїЅпїЅ: Flexigrid for jQuery <flex...@googlegroups.com>
пїЅпїЅпїЅпїЅ: Jan 22, 2010 01:44:21
пїЅпїЅпїЅпїЅ: Re: Flexigrid and JQuery 1.4

ok, i've to come back into the discussion....
It's true...it breaks.

I can't see what or why...JSON is passed regularly and i don't see any
errors in the console...
I just know i don't want to switch to jqGrid...but i really need to
have some work done in 5 days.
Lck...are you 100% sure it works for you?

On Jan 16, 3:38пїЅpm, Lck wrote:
> On Jan 16, 12:23пїЅpm, misterakko wrote:
>
> > Yesterday JQuery 1.4 was released. I lazily tried it and I see it
> > breaks Flexigrid.
>
> Are you sure? I have tried too and - while I still have to do some
> more testing - it appears to be working just fine.
> What exactly breaks in your case?

--
You received this message because you are subscribed to the Google Groups "Flexigrid for jQuery" group.
To post to this group, send email to flex...@googlegroups.com.
To unsubscribe from this group, send email to flexigrid+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flexigrid?hl=en.




пїЅ пїЅпїЅ. пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ

Paulo

unread,
Jan 25, 2010, 8:12:24 AM1/25/10
to Flexigrid for jQuery
Here is a demo of flexigrid working with jQuery 1.4:

http://flexigrid.info/sample2.php

The problem was that jQuery 1.4 now requires a strict JSON format. I
use json_encode to generate a strict JSON format before sending the
data back to flexigrid like so:

$data['page'] = $page;
$data['total'] = $total;

while ($row = mysql_fetch_array($result)) {

$rows[] = array(
"id" => $row['iso'],
"cell" => array(
$row['iso']
,$row['name']
,$row['printable_name']
,$row['iso3']
,$row['numcode']
)
);


}

$data['rows'] = $rows;
$data['params'] = $_POST;

echo json_encode($data);

misterakko

unread,
Jan 25, 2010, 10:36:52 AM1/25/10
to Flexigrid for jQuery
> The problem was that jQuery 1.4 now requires a strict JSON format.

*** G R E A T ***
It's also a bit faster! Thank you Paulo.

L.

hardik

unread,
Jan 28, 2010, 2:30:52 AM1/28/10
to Flexigrid for jQuery

hey

do have add/edit code in flexigrid

if yes let me know.

i am a fresher in php,mysql,ajax,jquery.

thanks

Domen Jakus

unread,
Feb 2, 2010, 2:35:46 AM2/2/10
to Flexigrid for jQuery
Well i have strict JSON format, but it only works in FF and chrome...
in IE6 it keeps loading data... any clue how to solve this?

Fernando Cesar

unread,
Feb 2, 2010, 10:54:53 AM2/2/10
to flex...@googlegroups.com
You must be sure that your JSon is right.. something like a comma (,) in the end of the instruction will break your load...
ex.: {data: "Hello", size: "150",}

--
You received this message because you are subscribed to the Google Groups "Flexigrid for jQuery" group.
To post to this group, send email to flex...@googlegroups.com.
To unsubscribe from this group, send email to flexigrid+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flexigrid?hl=en.




--
Att,
Fernando Cesar
Fone 9958-6122
Reply all
Reply to author
Forward
0 new messages