13 Commits

Author SHA1 Message Date
Fredrik Thorild
7a06e35851 Added sorting 2021-09-30 15:01:42 +02:00
Beau Cameron
23bdfbdccb
remove leftover debugger
remove leftover debugger
2020-10-02 05:55:34 -06:00
Beau Cameron
eeae4acc5c
Removing leftover debugger
Removing leftover debugger
2020-10-02 05:54:48 -06:00
Beau Cameron
e7e7fc1946 Adding configuration for pagination
Adding the ability to turn of pagination and also an new property for controlling how many items to return from the REST Call.
2020-10-01 19:32:24 -06:00
Abhishek Garg
a4c26fc25d Use 'slice' instead of 'splice'
Replace 'splice' with 'slice' method for common implementation (same as in search)
2020-06-22 18:05:27 +05:30
Abhishek Garg
4934ccb866 Bit of cleanup
No need to update 'items' in case of error, only 'pagedItems' is enough.
Use local variable 'items' instead of using from 'this.state'.
2020-06-22 18:05:27 +05:30
Abhishek Garg
888c7f439e Fix state change on search
Update both 'items' and 'pagedItems' on search event, to have the latest copy/reference
2020-06-22 18:05:27 +05:30
Abhishek Garg
3da742ed5f Fix paging implementation
Use 'items' instead of 'listItems' for paging as it'll always have updated data, ex on search
2020-06-22 18:05:27 +05:30
Abhishek Garg
0f83eb3ca0 Rename constant to 'pagedItems'
Rename constant to 'pagedItems' for clarity
2020-06-22 18:05:27 +05:30
Abhishek Garg
1bf9fa7d50 Replace 'items' with 'pagedItems'
Replace with 'pagedItems' everywhere, as that will have the correct items per page
2020-06-22 18:05:27 +05:30
Abhishek Garg
6f1c73f6f2 Add new property 'pagedItems'
Add property 'pagedItems' to type 'IReactAccordionState'
2020-06-22 18:05:27 +05:30
Neelamugilan Gobalakrishnan
daa3dc6274 Upgrade react accordion to SPFx 1.10 2020-01-19 23:45:43 +00:00
Gautam Sheth
4a47af2d14 SPFx React Accordion sample (#599)
* React Accordion Webpart added

* Updated to imgur image url
2018-09-10 13:06:51 +03:00