Skip to content

Is there an option to clean the data of an entire column (column not row)? #1072

@cesarreyes3

Description

@cesarreyes3

I would like to clean the data of one or more columns but I can't find that functionality

ChatGPT gave me this option(but it does not take into account the frozen columns, footer row, and perhaps other features)

$("#miGrid").find("td[aria-describedby='myGrid_miColumn']").empty();

Another option would be(but I don't know how it will be in performance)

var ids = $("#myGrid").jqGrid('getDataIDs');
$.each(ids, function (index, rowid) {
    $("#miGrid").jqGrid('setCell', rowid, 'miColumn', '');
});

Does this functionality exist? or could it be a feature?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions