03-16-2017 12:50 AM
I have a custom visual which is using ag-grid, I want a way to add custom properties which may be hidden from the Formatting options in the visual pane.
For example there is an option in grid to sort or group by values, I dont want this to be added in the "Format" tab of visuals, I just want a way to store this details some where(using api, or custom visual update) for that report and retrieve the data when the user loads the same report and display the group by or sorting for that field.
When I was checking there was a visual called "Table" which does the same thing for sorting. Can any one help me on this?
03-17-2017 04:00 AM
You could check the tutorial at https://github.com/Microsoft/PowerBI-visuals/blob/master/Tutorial/StaticObjects.md. And there are enough repositories at https://github.com/Microsoft?utf8=%E2%9C%93&q=PowerBI-visuals&type=&language= for your reference.
03-20-2017 12:34 AM
Thank you for your suggestion. I am aware of the objects(Static Objects), But as I have metioned in the original question, I dont want this to be displayed in the property pane.
For example I am attaching a default behaviour of table "Visuals", where you can see a sort icon. This will not be available in the property pane but the sorting will be saved and when you open the report again the sorting will be restored from some where.
I am also trying to do something similiar. Let me know If I am still confusing.