Issues with radio box and rowactions

QuestionsIssues with radio box and rowactions
Massimo Gagliardi asked 9 years ago

Hi Abu
I used your suggestions to put a radio box group in a detail row of a subgrid.
I used also, in the subgrid, the rowactions instead of edit dialog form.
Look at this sequence
1: I call the subgrid
http://easycaptures.com/fs/uploaded/809/1402652182.png
2: I edit a row
http://easycaptures.com/fs/uploaded/809/6940302110.png
3: without any change I try to edit the next row
http://easycaptures.com/fs/uploaded/809/2611770061.jpg
4. when I reset change in the previous row remain some fields active
http://easycaptures.com/fs/uploaded/809/0751331092.png
Can anything be done?
Thanks in advance
Massimo Gagliardi

7 Answers
Abu Ghufran answered 9 years ago

You can try with updated demo for radio button.
http://pastebin.com/mSh7mQ8k

Massimo Gagliardi answered 9 years ago

I removed (see my other ticket) the pair of instructions:

$col["formatter"] = "function(cellvalue, options, rowObject){ return formatPrice(cellvalue, options, rowObject);}";
$col["unformat"] = "function(cellvalue, options, rowObject){ return parseFloat(cellvalue.replace('$','').trim());}";

and restoring the standard:

$col["formatter"] = "currency";
$col["formatoptions"] = array(…

the behavior of the rows with radio box in inline modal (see my other ticket) seems almost good.
Look at the screeshoot

1: editing a row (by double-click)
http://easycaptures.com/fs/uploaded/809/8799617600.png
2: focus in another row (the problem is solved!)
http://easycaptures.com/fs/uploaded/809/5547272839.png
3: ri-editing a row (by double-click)
http://easycaptures.com/fs/uploaded/809/8799617600.png
4: modifying a value (unit price to 20.00)
http://easycaptures.com/fs/uploaded/809/3061080105.png
5: focus in another row, without save the modifying (don't appear the alert!)
http://easycaptures.com/fs/uploaded/809/5547272839.png
6: editing a row focused with the edit button (the alert is out of place!)
http://easycaptures.com/fs/uploaded/809/2510966919.jpg

The behavior is a bit right and a bit no.
Onblur event without unsaved changes is ok.
Onblur event with unsaved changes is no.
"Change" alert in edit mode, without any change, is no
Can anything be done?
Thanks
Massimo Gagliardi

Abu Ghufran answered 9 years ago

Please recheck after updating latest build that i emailed.

Massimo Gagliardi answered 9 years ago

!!!!!!!!!!
With the latest build:

Missing file: C:xamppphppearadodb/drivers/adodb-phpgrid_dbtype.inc.php

ADONewConnection: Unable to load database driver ''

!!!!!!!!!!

What can I do?

Abu Ghufran answered 9 years ago

Apologies for last email.

Sent again.

Massimo Gagliardi answered 9 years ago

Sorry.
The last build seems hasn't differences with the my first post.
The problem remains unchanged.

Abu Ghufran answered 9 years ago

There are 2 options. Either send me code / db files to regenerate the case.
Or schedule a remote desktop session using join.me

Email me at [email protected] whatever doable.

Your Answer

18 + 6 =

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?