Specific columns to excel export

QuestionsSpecific columns to excel export
Eleni asked 4 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 4 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 4 years ago

Thank you very much!

Your Answer

19 + 17 =

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?