Matthew
Matthew

Reputation: 10444

Can radgrid maskedcolumn display masked data in standard view?

I have a masked radgrid column for a phone number on a bigint column. The mask appropriately masks the edit form. It does not mask the data in the standard grid view.

I understand that this is the intended behavior... however I'd like it to mask the displayed data too.

Any ideas?

EDIT: That is to say, as a standard grid item, I'd like to also appear in the mask.

Upvotes: 1

Views: 1261

Answers (2)

Matthew
Matthew

Reputation: 10444

I resolved this by creating two columns in the grid, one being a formatted string and the other not (but only displaying the appropriate one).

Upvotes: 0

Dick Lampard
Dick Lampard

Reputation: 2266

I think I get your point to show that the input is masked in non-editable grid cell - simply include the characters from the phone mask when you update the grid source (as part of the text content). That should do the trick.

Upvotes: 0

Related Questions