
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
react-native-responsive-table
Advanced tools
React Native Responsive Table provide the responsive data table view in both android and IOS.
This is an cross-platform component which provide an responsive data table view for both Android and IOS.
It is easy to use component which dynamicly fit within your view and adjust its area accordigly.
just simply install the library the library with
$ npm install react-native-responsive-table
and thats it no aditional installation require you are good to go.
import {TableView} from "react-native-responsive-table"
import {TableView} from "react-native-responsive-table"
<TableView
headers={[
{
name:"S.no.",
reference_key:"no",
},
{
name:"Name",
reference_key:"name",
},
{
name:"Age",
reference_key:"age",
},]}
rows={[
{
no:1,
name:"jhon",
age:25
},
{
no:2,
name:"snow",
age:23
}
]}
/>
Make sure that name to pass "reference_key" in headers. By default name will be consider as a "reference_key" :- take the refrence of above example
you can also render your custom view insted of simple text string in rows.
import {TableView} from "react-native-responsive-table";
import {TouchableOpacity, Text} from "react-native";
<TableView
headers={[
{
name:"S.no.",
reference_key:"no",
},
{
name:"Name",
reference_key:"name",
},
{
name:"Age",
reference_key:"age",
},
{
name:"Actions",
reference_key:"action",
}
]}
rows={[
{
no:1,
name:"jhon",
age:25,
action:(
<TouchableOpacity>
<Text>X</Text>
</TouchableOpacity>
)
},
{
no:2,
name:"snow",
age:23,
action:(
<TouchableOpacity>
<Text>X</Text>
</TouchableOpacity>
)
}
]}
/>
it gives you full power to design the row cantaine inside table view so that you can freally move around insede table view.
It's recommended to use percentage value at setting heights and width of elements to make your component responsive accross multiple devices
by default table view adjust itself in available width but you cn also make it horizontal scrollable by playing with following properties.
| name | description | type | default |
|---|---|---|---|
| width | it set the width of table view (by defaul it is off full width of the device) | Number & Percent | device width (100%) |
| height | it set the height of table view (by defaul it is off 50% of the device) | Number & Percent | 50% (device height) |
| horizontalScroll | to enable the horizontal scroll within table | Boolean | false |
| columnWidth | Set the width of column (only works when horizontalScroll is enabled) | Number | 50 |
| headerHeight | to set the height of header on table | Number | 50 |
Nothing is perfect in this world as this package is in its initial age so you may face some bugs and difficulties by using this but i am intresterd to know about your thoughts regarding this package so i can develop it more further and i hope that some of you may interested helping me with this package and give me new ideas that help me building this more further.
you can mail me your reviews and idea to my gmail account aliasgherbadshah128@gmail.com
FAQs
React Native Responsive Table provide the responsive data table view in both android and IOS.
The npm package react-native-responsive-table receives a total of 0 weekly downloads. As such, react-native-responsive-table popularity was classified as not popular.
We found that react-native-responsive-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.