Comments (1)
You can't sort it without querying the database. I did not use a Javascript data grid that stores the entire record set. It only queries what is requested, and the keys must be the names of database columns within the users table. In your case, there is no column 'no'. I honesty don't see a need to sort by a number column since there's already a user id column that will sort asc/desc. Your number column is just showing the sequenced order of display. So I would just change your header so it isn't clickable to this:
<td>
<?php echo $i; ?>
</td>
and in the 'else', change the colspan since you are adding another column:
<td colspan="8">
from ci3-fire-starter.
Related Issues (20)
- language menu is empty HOT 2
- Database HOT 1
- redirect to /htdocs? HOT 4
- Upgrade to CI 3.0.5 HOT 1
- Issue in set_template HOT 1
- Object not found! Error 404 HOT 2
- log_message function not working. HOT 1
- Email Validation Error HOT 2
- Installation problem HOT 9
- can't add composer packet HOT 1
- How
- Admin template footer bug HOT 1
- CRUD in propject HOT 1
- can we have ACL and templating system? HOT 1
- Composer problem
- __autoload() is deprecated HOT 2
- routing not works properly; HOT 1
- I can't complete the installation
- 404 page not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ci3-fire-starter.