Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with make bold some row #75

Open
mrizkysaragih opened this issue Dec 1, 2014 · 0 comments
Open

Issue with make bold some row #75

mrizkysaragih opened this issue Dec 1, 2014 · 0 comments

Comments

@mrizkysaragih
Copy link

$z='';
for($c=0; $c < sizeof($dis); $c++)
{
if($c==sizeof($dis)-1)
$z.=$dis[$c]->id_surat;
else
$z.=$dis[$c]->id_surat.", ";
// var_dump($z);
// var_dump($dis[$c]->baca);

    }

$z=0;
$this->datatables->select("id, nomorsurat, tanggal , pengirim, tertuju, sifatsurat");
$this->datatables->add_column('Actions', get_buttons('$1',$this->ulvl),'id');
$this->datatables->edit_column('nomorsurat',"$1","");

     $this->datatables->from('suratmasuk');
     $this->datatables->where("id in ($z)");
     echo $siap=$this->datatables->generate();        

if value baca is 0, then the row look bold, vice versa.
any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant