Hello. api_dataSource.getColumnNames() - get column names from datasource, but sorts them by column name (ASC).

But I need a function that gets the column names from the grid, leaving the order of columns as it is.

asked 05 May '14, 08:16

Ramil's gravatar image

Ramil
41216
accept rate: 0%


Hi Ramil,

The api_component.getGridState should contain the information you are looking for.

Kind Regards,
Yalim

link

answered 06 May '14, 02:32

Yalim's gravatar image

Yalim ♦♦
2.8k5
accept rate: 22%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×16
×5
×2
×2

Asked: 05 May '14, 08:16

Seen: 1,087 times

Last updated: 06 May '14, 02:32


© Copyright Gerger 2017