grouping - How to Populate koGrid Groups Array -


i have kogrid configured follows:

        var myitemsgrid = {             data: myitems,             columndefs: [                 { field: 'item.title', displayname: 'title', celltemplate: $("#cdfurlcelltemplate").html() },                 { field: 'item.duetimeutc', displayname: 'due', cellformatter: formatdate, sortfn: sortdates },                 { field: 'id', displayname: 'edit', celltemplate: $("#editcelltemplate").html() }             ],             showgrouppanel: true,             groups: ['item.title'],             showfilter: false,             canselectrows: false          }; 

my problem groups array, have tried populate using field name of 1 of fields in grid, causes following error:

typeerror: cannot read property 'isaggcol' of undefined

how should populating groups array can set initial grouping grid?

i had same problem , took different approach sending event grid control group first heading. this:

jquery("#symbolpickerview").find(".kggroupicon").first().click();

this works until there sort of patch available.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -