try with this (I’m not sure…)
‘%5B%5B{“width”:”50%”, “targets”:”0″}%5D%5D’
but the best and easier is to use your CSS file to do it.
Thread Starter
vihali
(@vihali)
@gerardhaim
It does not work either. It seems that all the tag beginning with datatables_column_defs do not work as I tried many tags but I could not see any change. There should be something wrong that I could not figure out.
I will try CSS as you suggested. Too much for a guy like me 🙂 Perhaps I will ask an IT guy to help me.
Thank you very much.
-
This reply was modified 7 years, 10 months ago by
vihali.
I can try to help you more if you send me your CSS file
Plugin Author
Meitar
(@meitar)
It is best to use DataTables’s built-in responsive.breakpoints configuration option for this task, not your own CSS. Consult the DataTables support forum for help with DataTables, as per usual.
Thank you a lot. Should I include this options to custom.css file?
Thread Starter
vihali
(@vihali)
Hmm, I read the description of responsive.breakpoint but do not know how to translate that “language” into language using [gdoc]. It would be better to have an example of how to implement datatables codes into this addon.
Now I have to copy the table from google sheet into html and call datatables and its other codes. It works but I hate to login to update table. Wroking on googlesheet is much more pleasant.
I tried to insert googlesheet using this addon’s code [gdoc] and wrote javascript codes according datatables examples to change the table’s properties but it still kept unchanged. There was something wrong but I cannot figure it out.