Specific columns to excel export

QuestionsSpecific columns to excel export
Eleni asked 3 years ago

Hello,

It is possible to extract specific columns into excel and not all columns of the gridview?

Thanks in advance,
Eleni

2 Answers
Abu Ghufran answered 3 years ago

You can set export:false

$col = array();
$col["title"] = "Id"; // caption of column
$col["name"] = "id";
$col["width"] = "10";
$col["export"] = false;
$cols[] = $col;

Eleni answered 3 years ago

Thank you very much!

Your Answer

3 + 18 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!