Add new record

QuestionsAdd new record
Lui asked 8 years ago

Dear Team!

Is it possible to add new record with grid in the free version?

Thank you in advance!
Lui

14 Answers
Abu Ghufran answered 8 years ago

Yes, thats doable.
Complete features here:

Compare Versions

burakco answered 8 years ago

after upgrade from ver. 1.5.2 it doesnt work. i changed only lib folder for upgrade.

Abu Ghufran answered 8 years ago

Hi,
We're unable to generate this issue.
If it does not work, you can send code for review.

burakco answered 8 years ago

this is my index.php codes (ver. 1.5.2)

http://hastebin.com/ewutubahus.xml

if i override lib folder for ver. 2.0, add button doesnt work

Abu Ghufran answered 8 years ago

Hello,

Can you check teh firebug error console.
Perhaps there is some JS error causing this blocking.

https://phpgrid.desk.com/customer/portal/articles/926266

burakco answered 8 years ago

you are right, when i click to add button :

Uncaught TypeError: jQuery(…).abscenter is not a function

jQuery.jqGrid.beforeShowForm @ (index):19
(anonymous function) @ jquery.jqGrid.min.js:316
n.extend.each @ jquery.min.js:2
n.fn.n.each @ jquery.min.js:2
a.jgrid.extend.editGridRow @ jquery.jq
Grid.min.js:280b.fn.jqGrid @ jquery.jq
Grid.min.js:34
(anonymous function) @ jquery.jq
Grid.min.js:353
n.event.dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3

index.php :
line 18: include(PHPGRID_LIBPATH."inc/jqgrid_dist.php");
line 19:
line 20: session_start();

burakco answered 8 years ago

and i have this error onload:

Uncaught TypeError: Cannot read property 'showhidecol' of undefined

(anonymous function) @ (index):19
j @ jquery.min.js:2
k.fireWith @ jquery.min.js:2
n.extend.ready @ jquery.min.js:2
K @ jquery.min.js:2

Abu Ghufran answered 8 years ago

Have you tried after clearing browser / test it new browser ?
Both cases sounds like it is still using old js files.

burakco answered 8 years ago

i cleared browser cache, server cache, cloudflare cache.
i changed computer for try again.
i uploaded files another domain

but it doesnt work 🙁

could you try yourself : http://www.burakco.net

burakco answered 8 years ago

i found whats the problem :

if i change this

<script src="lib/js/jqgrid/js/i18n/grid.locale-tr.js" type="text/javascript"></script>

to this

<script src="lib/js/jqgrid/js/i18n/grid.locale-en.js" type="text/javascript"></script>

its working.

now, how can i fix it? i want to use in turkish.

Abu Ghufran answered 8 years ago

Are you using licensed version or free version?
I can send you an update after that.

burakco answered 8 years ago

free version

Abu Ghufran answered 8 years ago

We'll be updating the free version build after this fix but it may take some time.
You can edit the TR language file and add following constants like in EN locale file.

nav : {
edittext: "",
…..
viewtitle: "View selected row",
// new custom constants
columns : "Columns",
showhidecol : "Select Columns to display",
bulkedit: "Bulk Edit",
bulkeditskip : "Note: Blank fields will be skipped",
clone : "Clone",
export : "Export"
},

After that it should not raise issue.

burakco answered 8 years ago

thank you very much.

Your Answer

9 + 19 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?