mcongrove / ChariTi

Please do not use: this is out-dated
Other
113 stars 85 forks source link

menu selection #217

Closed patel-pragnesh closed 10 years ago

patel-pragnesh commented 10 years ago

I want to change the table row selection color. I am able to change the color of selected row but it appears for mili secs. I want changes appear until change does not perform to select different row of table view.(It means highlight the selected row)

If i select Facebook From slidemenu. Facebook backgroundcolor change

Is it possible? setTimeout(function() { // reset checks for (var i=0;i<section.rows.length;i++) { section.rows[i].hasCheck = false; section.rows[i].children[0].color = '#000'; } // set current check section.rows[index].hasCheck = true; section.rows[index].children[0].color = '#336699';

},250);
mcongrove commented 10 years ago

The background color for selected slide menu items is #222222, as seen here:

https://github.com/mcongrove/com.mcongrove.slideMenu/blob/master/controllers/widget.js#L40-L41

patel-pragnesh commented 10 years ago

hi

but some problem in selection (android Device)

I want to change the table row selection color. I am able to change the color of selected row but it appears for mili secs. I want changes appear until change does not perform to select different row of table view.(It means highlight the selected row)