Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Document dataSourceOptions and preserveDataSourceOptions #1222

Merged

Conversation

interactivellama
Copy link
Contributor

@kevinparkerson Please review in the morning or before. Thanks.

Fixes #973.

@interactivellama interactivellama added this to the 3.6.5 milestone Apr 7, 2015
@interactivellama interactivellama changed the title Document dataSourceOptions, preserveDataSourceOptions Document dataSourceOptions and preserveDataSourceOptions Apr 7, 2015
<td>dataSourceOptions</td>
<td>object</td>
<td>null</td>
<td>Use this object to pass a parameter to a custom-defined dataSource function mentioned above. Then, use those values to customize the data that gets passed back into the repeater from your API. Suggested uses include sorting, filtering, and search values. This object is also valuable in custom renders when used as an object within the <code>render</code> methods's <a href="#repeater-usage-methods-render">options parameter</a>. Did you lose your custom <code>dataSourceOptions</code> when you changed the page? If you did, set <code>preserveDataSourceOptions</code> to true in order to keep them.</td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Did you lose your custom dataSourceOptions when you changed the page?"

I would change this to "Did you lose your custom dataSourceOptions when you switched pages in the repeater?" just to clarify that we're not referring to changing the browser page.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

@interactivellama interactivellama force-pushed the dataSourceOptions-docs branch from dc6237e to ee98b6f Compare April 7, 2015 19:39
kevinparkerson pushed a commit that referenced this pull request Apr 7, 2015
Document dataSourceOptions and preserveDataSourceOptions
@kevinparkerson kevinparkerson merged commit bf98b15 into ExactTarget:gh-pages Apr 7, 2015
@interactivellama interactivellama deleted the dataSourceOptions-docs branch April 4, 2016 15:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants