Hi,
In Our Current Project Requirement .we Have a situation to List out the items in DataList.
In MobileView - Need to show items (1 - Repeated Column Manner ).
In Desktop View - Need to show items ( 3 - Repeated Column Manner ). How can I achieve this? how can I make this repeated column value dynamically? based on the screen width. Suggest me with Sample Code.
This is Mobile View
Thanks in Advance,
Karthik K


Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 13, 2020, 8:34 PM EDT
Check this link for that
https://www.aspforums.net/Threads/184417/Dynamically-change-repeat-column-of-DataList-as-per-screen-size-using-jQuery-in-ASPNet/
Marked as a answer if it's helpful for you
Karthik KRank #2,589 · 538 reputationPosted Jul 13, 2020, 8:43 PM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 13, 2020, 8:50 PM EDT
like changes the dimension in
resize function of jquery
Also
So repeat column value set as 5 so you need to do apply changes according to your req
Thank you
Karthik KRank #2,589 · 538 reputationPosted Jul 13, 2020, 9:48 PM EDT