Sorry to be a pain, I know your trying to help, but I do not like the idea
"Tim_Mac" <Tim at mackey dot eye eee> wrote in message
news:edq6wgKtFHA.2880@TK2MSFTNGP12.phx.gbl...
> hi Gav,
> sorry i didn't know you were using the datagrid to look and behave like a
> listview. in the normal datagrid situation, it would be non-standard.
>
> to be honest, i think the listview is the one you want. the WM10 library
> list is a listview. you can set LabelEdit = true, View=Details. you've
> got your multi-select built in, column sorting, etc.
> i couldn't get the items to BeginEdit() reliably on SelectedIndexChanged
> for some reason, it would flicker editable and then return to normal.
> will your users want to edit the text just by selecting an item in the
> list, or will the normal listview renaming functionality be sufficient?
>
> tim
>
> --------------------------
> blog:
http://tim.mackey.ie >
>
> "Gav" <spam@spam.com> wrote in message
> news:e9i6qFJtFHA.616@TK2MSFTNGP11.phx.gbl...
>> Why would this be a 'non-standard way of selecting a row' this is how all
>> listview controls work, look at the inbox of outlook/outlook express you
>> have a list (with no column headers) which you can hold CTRL and click on
>> multiple rows to select them.
>>
>> I guess I could have looked into making a editable ListView but that
>> seems like a lot more work because the datagrid looks just the same when
>> you hide the row headers, caption, set the back colour to white etc, then
>> you already have a listview look that you can edit.
>>
>> Gavin
>>
>>
>> "Tim_Mac" <Tim at mackey dot eye eee> wrote in message
>> news:OXIMFtwsFHA.3596@TK2MSFTNGP15.phx.gbl...
>>> hi Gav,
>>> may i ask what is your reason for hiding the row headers?
>>> you are re-creating functionality that is already there, and requiring
>>> the users to learn a non-standard way of selecting a row. most users
>>> will be familiar with the row-header way with excel. you must have a
>>> special case for doing this?
>>> i don't want to be a smart ass but before i/we try and help answer the
>>> question, it would be good to know the reasoning behind your course of
>>> action.
>>> did you try setting the width of the rowheader to 15 pixels? this makes
>>> it much less obtrusive in terms of screen space.
>>>
>>> tim
>>>
>>> --------------------------
>>> blog:
http://tim.mackey.ie >>>
>>> "Gav" <spam@spam.com> wrote in message
>>> news:ey3xAptsFHA.1256@TK2MSFTNGP09.phx.gbl...
>>>> This is the behaviour that I'm after yes however i do not show the row
>>>> headers...
>>>>
>>>> "Tim_Mac" <Tim at mackey dot eye eee> wrote in message
>>>> news:uRJjjCwrFHA.1172@TK2MSFTNGP11.phx.gbl...
>>>>> hi Gav,
>>>>> i use the built-in multiple select by just holding down Ctrl while i
>>>>> click on the left margin of each row.
>>>>> is this what you want?
>>>>>
>>>>> tim
>>>>>
>>>>> --------------------------
>>>>> blog:
http://tim.mackey.ie >>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>