Click here to Skip to main content
15,896,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am using radgrid in my webpage.i added bootstrap and css classes for its reponsiveness.when i open the page in laptop browser then responsiveness working well and when decrease browser size into tablet mode and mobile mode then responsiveness also working well...but when i open this page in mobile phone mode directly or navigate this page keeping keeping browser in mobile phone mode then responsiveness not working well..how i can resolve this problem... my css class given below:

What I have tried:

<style>
.myradGrid
{
overflow: auto;
transition: .3s all;
outline: none !important;
border-radius: .25rem !important;
border: 1px solid #e9e9e9 !important;
}
</style>
Posted
Updated 26-Mar-19 4:41am

Make sure the radgrid control is compatible with the version of bootstrap that you added. Bootstrap 4 is a radical departure from bootstrap 3.

Attempting to view tabular data in a grid on a phone is, well, stupid. There's no way you can display a data grid in a meaningful way on a screen that small. Your only real recourse would be to reduce the number of columns, and with each column you remove, your data becomes less and less menaingful or useful.

My advice would be to change over to a list of data to represent one colum on a single line, and let the user scroll the list, possibly proviing a "next item" button to ease the chore of scrolling.
 
Share this answer
 
Please check are you add the responsive meta tag in html file.

In browser resize if you not add the meta tag the responsive will
work but mobile will not work like this so please check meta tag in html file

Responsive for meta tag:

<meta name="viewport" content="width=device-width, initial-scale=1.0">
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900