2
Orders
5K rowsSelect, search-as-you-type, range and toggle filters on one table. Every filter lives in the URL, so a filtered view is a link you can share.
Pick two statuses, type a city, then copy the URL into a new tab.
|
Order
|
Customer
|
City
| Status | Payment |
Amount
|
Items
|
Placed
|
|---|---|---|---|---|---|---|---|
|
ORD2025004766
|
SC
Sachin Chatterjee
customer4766@email.com
|
Aurangabad
Maharashtra
| pending | paid | ₹69,725 | 10 |
16 Dec 2025
11 months ago
|
|
ORD2025000011
|
YA
Yamini Agarwal
customer11@email.com
|
Ranchi
Jharkhand
| pending | paid | ₹57,417 | 3 |
16 Dec 2025
11 months ago
|
|
ORD2025000156
|
NK
Naresh Krishnan
customer156@email.com
|
Patna
Bihar
| shipped | refunded | ₹49,969 | 5 |
16 Dec 2025
11 months ago
|
|
ORD2025000227
|
SG
Saanvi Gupta
customer227@email.com
|
Varanasi
Uttar Pradesh
| pending | paid | ₹30,568 | 4 |
16 Dec 2025
11 months ago
|
|
ORD2025000441
|
SP
Shalini Pandey
customer441@email.com
|
Gwalior
Madhya Pradesh
| shipped | paid | ₹61,534 | 2 |
16 Dec 2025
11 months ago
|
|
ORD2025000487
|
NV
Nilesh Venkatesh
customer487@email.com
|
Ranchi
Jharkhand
| cancelled | paid | ₹7,293 | 5 |
16 Dec 2025
11 months ago
|
|
ORD2025000700
|
KR
Kartik Rao
customer700@email.com
|
Chennai
Tamil Nadu
| delivered | paid | ₹29,743 | 2 |
16 Dec 2025
11 months ago
|
|
ORD2025000724
|
UC
Uma Chatterjee
customer724@email.com
|
Srinagar
Jammu & Kashmir
| shipped | paid | ₹91,252 | 10 |
16 Dec 2025
11 months ago
|
|
ORD2025000977
|
DA
Dinesh Agarwal
customer977@email.com
|
Kochi
Kerala
| confirmed | paid | ₹46,874 | 7 |
16 Dec 2025
11 months ago
|
|
ORD2025000988
|
MD
Mohit Dutta
customer988@email.com
|
Gwalior
Madhya Pradesh
| confirmed | refunded | ₹1,503 | 1 |
16 Dec 2025
11 months ago
|
|
ORD2025001296
|
AK
Aditya Krishnan
customer1296@email.com
|
Visakhapatnam
Andhra Pradesh
| shipped | pending | ₹54,855 | 4 |
16 Dec 2025
11 months ago
|
|
ORD2025001452
|
NS
Neha Sen
customer1452@email.com
|
Vijayawada
Andhra Pradesh
| confirmed | refunded | ₹25,119 | 9 |
16 Dec 2025
11 months ago
|
|
ORD2025001683
|
PR
Pallavi Roy
customer1683@email.com
|
Delhi
Delhi
| confirmed | paid | ₹26,993 | 8 |
16 Dec 2025
11 months ago
|
|
ORD2025001820
|
PJ
Priya Jain
customer1820@email.com
|
Guwahati
Assam
| confirmed | partially paid | ₹33,588 | 10 |
16 Dec 2025
11 months ago
|
|
ORD2025001876
|
SN
Sakshi Nair
customer1876@email.com
|
Chennai
Tamil Nadu
| cancelled | pending | ₹54,735 | 1 |
16 Dec 2025
11 months ago
|
|
ORD2025001932
|
TS
Tushar Shetty
customer1932@email.com
|
Jabalpur
Madhya Pradesh
| cancelled | pending | ₹91,900 | 1 |
16 Dec 2025
11 months ago
|
|
ORD2025002007
|
SD
Shivam Das
customer2007@email.com
|
Dhanbad
Jharkhand
| delivered | pending | ₹8,885 | 9 |
16 Dec 2025
11 months ago
|
|
ORD2025002049
|
JT
Juhi Tiwari
customer2049@email.com
|
Agra
Uttar Pradesh
| pending | pending | ₹18,771 | 3 |
16 Dec 2025
11 months ago
|
|
ORD2025002150
|
GJ
Garima Joshi
customer2150@email.com
|
Vijayawada
Andhra Pradesh
| cancelled | pending | ₹25,185 | 7 |
16 Dec 2025
11 months ago
|
|
ORD2025002284
|
NR
Nandini Reddy
customer2284@email.com
|
Lucknow
Uttar Pradesh
| cancelled | partially paid | ₹89,667 | 1 |
16 Dec 2025
11 months ago
|
|
ORD2025002310
|
CS
Chitra Subramaniam
customer2310@email.com
|
Dehradun
Uttarakhand
| shipped | refunded | ₹74,742 | 9 |
16 Dec 2025
11 months ago
|
|
ORD2025003029
|
BG
Bhavna Gupta
customer3029@email.com
|
Hubli
Karnataka
| delivered | partially paid | ₹12,557 | 9 |
16 Dec 2025
11 months ago
|
|
ORD2025003066
|
MR
Mitali Rajan
customer3066@email.com
|
Varanasi
Uttar Pradesh
| pending | pending | ₹88,967 | 1 |
16 Dec 2025
11 months ago
|
|
ORD2025003084
|
CB
Chirag Banerjee
customer3084@email.com
|
Mangalore
Karnataka
| cancelled | paid | ₹30,860 | 6 |
16 Dec 2025
11 months ago
|
|
ORD2025003177
|
MN
Mitali Nair
customer3177@email.com
|
Varanasi
Uttar Pradesh
| confirmed | pending | ₹91,720 | 8 |
16 Dec 2025
11 months ago
|
# In your LiveView
def fields do
[
id: %{label: "ID", hidden: true},
order_number: %{label: "Order", sortable: true, searchable: true, renderer: &order/2},
customer_name: %{label: "Customer", sortable: true, searchable: true, renderer: &customer/2},
city: %{label: "City", sortable: true, renderer: &city/2},
status: %{label: "Status", renderer: &status/1},
payment_status: %{label: "Payment", renderer: &status/1},
total_amount: %{label: "Amount", sortable: true, renderer: &money/1},
items_count: %{label: "Items", sortable: true, renderer: &items/1},
order_date: %{label: "Placed", sortable: true, renderer: &placed/1},
customer_email: %{label: "Email", hidden: true},
state: %{label: "State", hidden: true},
is_express: %{label: "Express", hidden: true},
is_gift: %{label: "Gift", hidden: true}
]
end
def filters do
[
status:
Select.new(:status, "status", %{
label: "Status",
mode: :tags,
options: for(s <- Demo.Orders.statuses(), do: %{label: String.capitalize(s), value: s})
}),
city:
Select.new(:city, "city", %{
label: "City",
mode: :tags,
placeholder: "Type a city",
options_source: {Demo.Orders, :search_cities, []}
}),
amount:
Range.new(:total_amount, "amount", %{
label: "Amount",
unit: "₹",
min: 0,
max: 100_000,
step: 500,
pips: true,
pips_mode: "values",
pips_values: [0, 25_000, 50_000, 75_000, 100_000]
}),
express:
Boolean.new(:is_express, "express", %{
label: "Express",
condition: dynamic([o], o.is_express)
}),
gift: Boolean.new(:is_gift, "gift", %{label: "Gift", condition: dynamic([o], o.is_gift)})
]
end
def table_options do
%{
pagination: %{sizes: [10, 25, 50], default_size: 25},
sorting: %{default_sort: [order_date: :desc]},
search: %{placeholder: "Search order or customer"},
exports: %{enabled: false},
fixed_header: true
}
end