Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

combine 2 data in column

function fullNameGetter(params) {
    return params.data.Title + ' ' + params.data.FirstName + ' ' + params.data.MiddleName + ' ' + params.data.LastName;
  }

.....
    {
      headerName: 'Full Name',
      field: 'Title&FirstName&MiddleName&LastName',
      filter: true,
      width: 225,
      valueGetter: fullNameGetter,
    },
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #combine #data #column
ADD COMMENT
Topic
Name
3+3 =