Uploader Comments (optikalefxx)
All Comments (96)
-
@McL0c0MX well the click is an event ON the tr. So, $(this) refers to the tr, where $(this).attr("primary_key") is the row id
-
u talk very fast man.. calm down
-
@LearnThruSong I'm having the exact same error as mjcarraco. I've tried just about everything [my very limited programming mind] could think of and I can't get to the bottom of this. I understand the obvious sql syntax errors in the but I haven't changed the class files and have set up the index/ajax files as instructed. For some reason grid.php (or maybe grid.js) is creating some weird sql. Any advice for how I can begin to figure this thang out?
-
Spectacular! Can't wait to make use of it. Many thanks for sharing it :)
-
@mjcarraco Also, do you really have a field in your 'orders' table called 'orders'? Also are you trying to concatenate the two fields where after SELECT you have "...`orders`.``,orders.id..."?
-
@mjcarraco Hi there, you appear to have a couple of errors in the SQL:
1st - You have the ORDER BY declaration but no argument... you need to tell SQL what to order (the name of the field) by or delete ORDER BY.
2nd - If you put a LIMIT declaration in, it restricts the number of rows - or in your case, orders - that the query will return. By adding a LIMIT 0, no matter what you're selecting, the query will limit SQL to returning zero results.
Hope this helps!!!
-
It gives me this error:
string(94) " SELECT `orders`.``,orders.id FROM `orders` ORDER BY LIMIT 0, " You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0,' at line 8
What that means?
Thank you
ABSOLUTELY AWESOME!
This provides a lot of the framework I need to make modifying some database tables cleanly and securely behind a custom ACL in PHP. I just need to work out a few details and I'll be jumping in there adding this to my site!
Thanks so much for your time developing this!
LearnThruSong 3 months ago
@LearnThruSong thanks man! Let me know when you work with it, I'd like to see what you come up with
optikalefxx 3 months ago
i have a question.. can the grid handle thousands of data?
Thank you! =D
joanatyu 6 months ago
@joanatyu The most I've used it with is 26 thousand rows. So yes, it can probably handle millions of rows.
optikalefxx 6 months ago
can you tell me how?
will that automatically compute the average when i enter the values in those 7 fields in the grid
Thanks for the reply
joanatyu 6 months ago
@joanatyu I need to know your database first, then i can tell you. Email me a SQL dump of your database PM me for my email address
optikalefxx 6 months ago