PDA

View Full Version : underline is shown with ''



hieu79vn
16 Apr 2012, 1:19 PM
Hello
I have a grid with which haves 2 column. I have formatted rows with underline. The text shown in the first column is formatted with texts underlined that is good. But in the 2e column, although I set its text to '', it shows an underline like this _
How can I remove this underline?
Thank you

scottmartin
16 Apr 2012, 1:34 PM
How are you formatting the rows to display '_'? Are you checking for '' value there?

I will need more information.

Scott.

hieu79vn
16 Apr 2012, 11:07 PM
Hi Scott,

I format the column with :
.underlined .x-grid-cell-inner {
text-decoration: underline;
cursor: pointer;
}

and if the text in this column is blank '' (2 single quote), it shows _

hieu79vn
17 Apr 2012, 6:05 AM
test

scottmartin
17 Apr 2012, 5:57 PM
I am not sure how your blank data is return, but you can always check for "" and then choose not to return your CSS in your column renderer? or how are you applying your csutom CSS?

Regards,
Scott.