traport
asked on
How do you combine fields in a JQGRID?
Instead of this:
I essentially want: Last Name, First Name
{name:'lastname', label: 'Last Name', index:'lastname', width:200},
{name:'firstname', label: 'First Name', index:'firstname', width:250},
I essentially want: Last Name, First Name
ASKER
Thank you. I just can't seem to figure out how to incorporate that into my grid as a column.
Is it a new column? i.e.
{name: 'fullname', formatter:myFormatter, index... then what?}
Is it a new column? i.e.
{name: 'fullname', formatter:myFormatter, index... then what?}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That has a column with 'undefined' as the values. I'm stumped.
ASKER
This was correct, I just had to lower case the 'n'. I had to place the function about my document.ready as well. Thanks so much.
example:
Open in new window