Comments (4)
Any suggestions or is it definitely not possible?
from editablegrid-mysql-example.
I think it's possible because there is no limit to the cell editor system.
But without code or console log or error message, I can't help you.
from editablegrid-mysql-example.
the input mask plugin works fine on in the add record window using this In of index.php:
.....
<div class="row">
<input type="text" id="chassi" name="chassi" placeholder="chassi" data-inputmask="'mask': '#################', 'placeholder': '.'" />
........
</div>
<script type="text/javascript">
$(document).ready(function(){
$(":input").inputmask();
});
</script>
What I can't find out is how to make it work in the grid
from editablegrid-mysql-example.
You must create a dedicated editor. Check this: https://github.com/webismymind/editablegrid/blob/master/editablegrid_editors.js.
We do a similar thing in DateCellEditor. You have to create InputMaskEditor and bind inputMask in displayEditor()
Something like that :
InputMaskEditor.prototype.displayEditor = function(element, htmlInput) { // call base method TextCellEditor.prototype.displayEditor.call(this, element, htmlInput); $(htmlInput).inputmask("99-9999999"); };
from editablegrid-mysql-example.
Related Issues (20)
- loaddata.php patch
- Update fields
- How do I get set up the grid so all columns can be filtered? HOT 2
- no hidden column HOT 1
- date from datepicker - no update
- how to upload file ?
- multiple editablegrid HOT 2
- url in a cell HOT 2
- multiple primary key for one table
- Filter not working on all columns HOT 1
- ErrorCode "Call to undefined function mysqli_init()"
- response == "ok" fails because of line break in "ok" string
- sorting date column only sorts by day and ignores month and year HOT 1
- Time picker?
- javascript error on demo with current mysql table HOT 1
- New columns added make grid go blank
- How to make every column header into individual filter
- Link to an URL / Website
- hidde column doesn work
- Question about addRow process
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 editablegrid-mysql-example.