Select plug in
Select plug in
good evening everyone, I would like some information please, is it possible in the SElect plugin to enable and display only the row information and disable and not make the information on the column and cell visible?
if it were possible how?
Would you be so kind as to explain it? I tried with:
items:'columns',
info:false
items:'cell'
info: false
but it doesn't work and I didn't find information on how to disable by choosing what:
This question has an accepted answers - jump to answer
Answers
Do you mean to disable the selected info display when select by cells, like this example?
https://live.datatables.net/mocerasi/1/edit
Can you post a test case showing the issue you are having so we can help debug?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
I meant if it was possible to display only the information when selecting the row, normally the complete information that is returned when a row is selected is: "1 row selected - 0 columns selected - 0 cells selected", I wanted to know if it was possible not display the information about the columns and cells and only that of the row remains, so instead of "1 row selected - 0 columns selected - 0 cells selected", I wanted to know if it was possible to obtain only "1 row selected".
Sounds like you might have
language.select
configured to displaylanguage.select.cells
,language.select.columns
andlanguage.select.rows
. Is this the case? If it is do you usecells
andcolumns
select modes?It would probably help if you at least posted your full Datatables config so we understand what you have.
Kevin
you're right, place the configuration of the DataTables in the JS file:
I hope I have expressed myself clearly, I repeat, I just need that when selecting the row the info at the bottom only returns to me that I have selected the row, I don't care that it informs me that columns and cells are 0, and therefore have not been select
You have this:
Remove the
info: false
and you should see the number of selected rows. I copied that code snippet into this test case withinfo: false
commented out. It only shows the number of rows selected.https://live.datatables.net/mocerasi/3/edit
If you see different behavior them please provide a test case showing the issue.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
To dip my oar in as well, I think you'll need to modify your
../json/ita.json
file a little. Change thelanguage.select.cells
andlanguage.select.columns
properties to have an empty string for the0
propertyAllan
nothing to do even commenting info, the references to the rows and columns remain
thank you Allan