Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
ubjs
ubjs
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 15
    • Merge Requests 15
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • unitybase
  • ubjsubjs
  • Issues
  • #36

Closed
Open
Opened Jan 10, 2019 by Безуглый Андрей@rumataMaintainer

AdminUI - grid - export to Excel / CSV / HTML - provide cell and row to format functions

When a cell in grid has a custom format function, it accepts 3 parameters:

  • value
  • cell
  • row

But when you export the very same grid to excel / html / csv - you have only the "value" parameter. I found my peace with undefined cell and just check its type - if it is object or not. Though that is not too comfortable :)

But I really do need row - I need to be able to look at other columns values. Otherwise, all I could do - return empty cells for columns, which builds their value client-side from other column's values.

Assignee
Assign to
Nectain 01
Milestone
Nectain 01
Assign milestone
Time tracking
None
Due date
None
Reference: unitybase/ubjs#36