|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Arrow keys and the datagrid...My users want to be able to use the Web Datagrid like an excel spreadsheet.
This means a fully editible grid with arrow key navigation between cells. The grid seems to support horizontal tabbing between cells but nothing for the arrow keys. I have googled for sample code but the best that I could find was some half completed javascript that captures the key events but doesn't quite show me how to use it in the grid. I was wondering if anyone has any example code where an editable grid could be navigated from cell to cell using the arrow keys (Left, Right, Up and Down). Thanks in advance. You'd have to do a lot of javascript for that. I'm curious, why don't you
just use a bonafide excel object - the Microsoft Office Web Components is a good alternative for just such an application. -- Show quoteHide quoteRegards, Alvin Bruney - ASP.NET MVP [Shameless Author Plug] The Microsoft Office Web Components Black Book with .NET Now available @ www.lulu.com/owc, Amazon.com etc "Bob Morvay" <r@r.com> wrote in message news:umv2B7CTFHA.3332@TK2MSFTNGP15.phx.gbl... > My users want to be able to use the Web Datagrid like an excel > spreadsheet. > This means a fully editible grid with arrow key navigation between cells. > The grid seems to support horizontal tabbing between cells but nothing for > the arrow keys. I have googled for sample code but the best that I could > find was some half completed javascript that captures the key events but > doesn't quite show me how to use it in the grid. I was wondering if > anyone > has any example code where an editable grid could be navigated from cell > to > cell using the arrow keys (Left, Right, Up and Down). > > Thanks in advance. > > > Two reasons... It is an existing ASP.Net application and I have never used
the Microsoft Office Web Component :) Where can I learn more about the Excel object as it can be used in a web components? Show quoteHide quote "Alvin Bruney [MVP - ASP.NET]" <www.lulu.com/owc> wrote in message news:eyKCbtFTFHA.2432@TK2MSFTNGP12.phx.gbl... > You'd have to do a lot of javascript for that. I'm curious, why don't you > just use a bonafide excel object - the Microsoft Office Web Components is > a good alternative for just such an application. > > -- > Regards, > Alvin Bruney - ASP.NET MVP > > [Shameless Author Plug] > The Microsoft Office Web Components Black Book with .NET > Now available @ www.lulu.com/owc, Amazon.com etc > "Bob Morvay" <r@r.com> wrote in message > news:umv2B7CTFHA.3332@TK2MSFTNGP15.phx.gbl... >> My users want to be able to use the Web Datagrid like an excel >> spreadsheet. >> This means a fully editible grid with arrow key navigation between cells. >> The grid seems to support horizontal tabbing between cells but nothing >> for >> the arrow keys. I have googled for sample code but the best that I could >> find was some half completed javascript that captures the key events but >> doesn't quite show me how to use it in the grid. I was wondering if >> anyone >> has any example code where an editable grid could be navigated from cell >> to >> cell using the arrow keys (Left, Right, Up and Down). >> >> Thanks in advance. >> >> >> > > The Office Web Components are easy to program against. You can find the free
download on the Microsoft office website. The help files are enough to get you started. The newsgroup is office.developer.web.components and msdn lists a number of articles. The current book on the components is available at www.lulu.com/owc or on amazon. hope this helps -- Show quoteHide quoteRegards, Alvin Bruney - ASP.NET MVP [Shameless Author Plug] The Microsoft Office Web Components Black Book with .NET Now available @ www.lulu.com/owc, Amazon.com etc "Bob Morvay" <r@r.com> wrote in message news:eMot$bLTFHA.2556@TK2MSFTNGP12.phx.gbl... > Two reasons... It is an existing ASP.Net application and I have never used > the Microsoft Office Web Component :) Where can I learn more about the > Excel object as it can be used in a web components? > > "Alvin Bruney [MVP - ASP.NET]" <www.lulu.com/owc> wrote in message > news:eyKCbtFTFHA.2432@TK2MSFTNGP12.phx.gbl... >> You'd have to do a lot of javascript for that. I'm curious, why don't you >> just use a bonafide excel object - the Microsoft Office Web Components is >> a good alternative for just such an application. >> >> -- >> Regards, >> Alvin Bruney - ASP.NET MVP >> >> [Shameless Author Plug] >> The Microsoft Office Web Components Black Book with .NET >> Now available @ www.lulu.com/owc, Amazon.com etc >> "Bob Morvay" <r@r.com> wrote in message >> news:umv2B7CTFHA.3332@TK2MSFTNGP15.phx.gbl... >>> My users want to be able to use the Web Datagrid like an excel >>> spreadsheet. >>> This means a fully editible grid with arrow key navigation between >>> cells. >>> The grid seems to support horizontal tabbing between cells but nothing >>> for >>> the arrow keys. I have googled for sample code but the best that I >>> could >>> find was some half completed javascript that captures the key events but >>> doesn't quite show me how to use it in the grid. I was wondering if >>> anyone >>> has any example code where an editable grid could be navigated from cell >>> to >>> cell using the arrow keys (Left, Right, Up and Down). >>> >>> Thanks in advance. >>> >>> >>> >> >> > >
How to implement a property like ControlToValidate property?
How do you display and process confirmation dialog? Problem with ViewState HowTo Loading ActiveX dinamically at runtime ? createuserwizard refuese to add users due to password TabStrip sample displays text only Any Descent Gantt Chart ASP.NET Webform Components? Textbox error how to use winform in IE Submit Form on Enter Pressed |
|||||||||||||||||||||||