Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ui:cwd] can not use the _ in custom column name #1532

Closed
paulcanning opened this issue Jul 15, 2016 · 2 comments
Closed

[ui:cwd] can not use the _ in custom column name #1532

paulcanning opened this issue Jul 15, 2016 · 2 comments
Assignees
Labels

Comments

@paulcanning
Copy link

I have one working custom column, and want to add a second.

The data is being added to the file object, the same as the working one.

I can see the data is there using the network inspector tools.

I have the following code for the client options:

cwd: {
                            listView: {
                                columns: ['description', 'uploaded_by', 'size', 'kind', 'date'],
                                columnsCustomName: {
                                    description: 'Description', // this one works
                                    uploaded_by: 'Uploaded By' // this doesn't
                                }
                            }
                        }

In the column, under "Uploaded By" it just shows {uploaded_by} instead of the data attached to the file.

@nao-pon nao-pon changed the title Secondary custom column not working [ui:cwd] can not use the _ in custom column name Jul 15, 2016
@nao-pon nao-pon self-assigned this Jul 15, 2016
@paulcanning
Copy link
Author

To add to this, my second.custom column was.appearing at the end of the.columns, instead of being second.

I ordered the columns in the.client options, a such

Custom column 1, custom column 2, size, modified, type

Yea column 2 was shown last.

@nao-pon
Copy link
Member

nao-pon commented Jul 16, 2016

I think the order of the column has been set.

rel. #1535

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants