We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92435b7 commit f2bd0bbCopy full SHA for f2bd0bb
1 file changed
tableExport.js
@@ -199,7 +199,12 @@
199
$(el).find('thead').find('tr').each(function() {
200
excel += "<tr>";
201
$(this).filter(':visible').find('th').each(function(index,data) {
202
- if ($(this).css('display') != 'none'){
+ var bIsStateColumn = $(this).attr('data-field') === 'state';
203
+ var bIsActionColumn = $(this).attr('data-field') === 'action';
204
+ if (bIsStateColumn || bIsActionColumn) {
205
+ defaults.ignoreColumn.push(index);
206
+ }
207
+ if ($(this).css('display') != 'none' && !bIsActionColumn && !bIsStateColumn){
208
if(defaults.ignoreColumn.indexOf(index) == -1){
209
excel += "<td>" + parseString($(this))+ "</td>";
210
}
0 commit comments