Search
23531 results 2751-2760
Forum
- 20th Sep 2018Add Columns By CategoryMy last part that I need to figure out is how to remove any offices that have a "0" value, but I can spend some time figuring that out. Thank you for your help.
- 18th Sep 2018ifEmpty() Formatter set to another column's valueHi @mpalmer , Looking at a combination of this thread and this one, this should work: Field::inst( 'perm_id' ) ->setFormatter( function ( $val, $data, $opts ) { return $val ? '' : $data['projname']; } ) Cheers, Colin
- 14th Sep 2018What do we need exactly to make work the individual search columns with datatable tools?Hi @Nina111 , As you can see, it works in that example, so it's something wrong with your code - but without seeing it, there isn't much we can do. We're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here. Cheers, Colin
- 12th Sep 2018Column widths stay as they are - want to change to smaller columnsHi @WalterKuhn , This thread here may help. Cheers, Colin
- 31st Aug 2018Highlighting rows and columns on AJAX datatableHi @"esteban.olm" , Try this instead, $(".dataTable") .on( 'mouseenter', "tr.odd[role='row'], tr.even[role='row']", function () { //add higltlight class to th TR element } ) .on( 'mouseleave', "tr.odd[role='row'], tr.even[role='row']", function () { //remove higltlight class to th TR element } ); That should do the trick, Cheers, Colin
- 16th Aug 2018Cannot get table to work with less than 4 columnsHi @colin Thank you for your response If only you could have heard what I was calling myseef. More caffiene needed I think. Again, Thank you, Dave
- 10th Aug 2018how to have two attributes in a columns to display data, and calculate sum of one attributeYou could define a reducer that only addresses your first td element in each tr. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce https://stackoverflow.com/questions/16668094/jquery-selector-first-td-of-each-row
- 30th Jul 2018fixed columns have y scroll instead of keeping the width fixed and header overlaps as wellIt works now! Thank you!
- 16th Jul 2018Scroll bar start after some columnsHi @Hueseniglobal , No, that's the aim of FixedColumn, so it's all in there. If you want help in understanding why your other functionality stops when FixedColumn is enabled, we're be happy to take a look if you can create a fiddle or post a link to your page demonstrating the problem, Cheers, Colin
- 16th Jul 2018Export to excel error when having dynamic table columnsThank you @colin That was really helpful.