Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
cell edition for a checkbox
23/11/2009
12:31
Avatar
phicarre
Member
Members
Forum Posts: 132
Member Since:
09/11/2009
sp_UserOfflineSmall Offline

version 3.6.1 - Cell editing

my code for the edition:

         cellEdit:true,
         cellsubmit: 'clientArray',
         beforeEditCell: function(rowid,cellname,value,irow,icol){
             alert("ok1");
         },
         afterEditCell: function(rowid,cellname,value,irow,icol){
             alert("ok2");
         }

and the definition of the column editable:

{
            name:'foo',
            index:'foo',
            align:'center',
            editable:true,
            formatter:'checkbox',
            formatoptions: {disabled: false},
            edittype: "checkbox",
            width:80
 },

1) one click in the cell displays ok1, and after the alert-ok, ok2

2) if I try again, ok1 is not displayed ! why ?

3) whatever 1&2, if I click on the checkbox, I never have ok1 ! why ?

25/11/2009
10:44
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

These are called only once when you edit the cell.

Also if you save or restore the cell and then edit it again they will be called again.

I will check whay this is happen for the checkbox.

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

25/11/2009
12:03
Avatar
phicarre
Member
Members
Forum Posts: 132
Member Since:
09/11/2009
sp_UserOfflineSmall Offline

Ok. I will wait for your analysis. Thank you.

27/11/2009
04:27
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Look here:

http://www.trirand.com/blog/?p.....-jqgrid-36

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

27/11/2009
11:57
Avatar
phicarre
Member
Members
Forum Posts: 132
Member Since:
09/11/2009
sp_UserOfflineSmall Offline

Hi,

If I understand I must take the new grid.celledit.js ...

30/11/2009
12:55
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Yes, but I recommend you to see other fixes and upgrade to them

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

01/12/2009
01:20
Avatar
phicarre
Member
Members
Forum Posts: 132
Member Since:
09/11/2009
sp_UserOfflineSmall Offline

my problem is also how to generate a jqdrid_min file ...

I should perhaps wait for the next version ?

02/12/2009
10:16
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

If you have ant installed you can just type ant in the directory where the grid is and you will see the min file.

Also look at build.xml and build.properties when you download from GitHub

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
59 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information