Can sliders be controlled by code ?

Hey !!
I’ve a created a dataset of my store items and this dataset is connected with a full width slide show which I’ll be updating monthly. Assuming that I have 15 products to display in the slider this month and will have 20 products next month and maybe 10 in the third month. Here number of slides in the slideshow should be managed by the number of columns in the dataset.
Can I achieve this with some specific code rather deleting or adding it manully ?

Hi,
To do it the way you described, the best way would be the following:
Check the current month when the page loads.
Create a condition, which will filter items in a dataset with a certain condition based on the month.

Will check and get back to you if any queries…Thanks…!!