Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Invoking addRow from a external button

No Tags
UserPost

10:27
27/05/2012


krisreddy

Member

posts 35

Hello,

I am trying to call addRow functionality by Clicking a custom button, it adds row to the grid when I enter the content and press enter nothing happens.

This the function invoked by clicking the button.

function egAddNewItem()
        {
            param ={
                 rowid:'new_row'
                ,initdata:{}
                ,position:'first'
                ,useDefValues:false
                ,useFormatter:false
                ,addRowParams:{extraparam:{keys:true}}        
            }
            masterUnitMeasureGrid.jqGrid('addRow',param);
        }


I went throught the docs,can't seem to figure out. Please help.

No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

27 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9596

Posts: 28792

Membership:

There are 10195 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7010 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information