문제

ListViewWebPart를 사용하여 사용자 정의 목록을 표시하고 있습니다.디스플레이를 업데이트하여 일부 버튼이 있도록 (단추가있는 두 개의 열)

i 다음 버튼 클릭을 처리하고 사용자 정의 논리를 수행하십시오.

listviewwebpart 로이 작업을 수행 할 수 있습니까?

올바른 웹 파트를 사용하고 있습니까?

도움이 되었습니까?

해결책

Use the dataview webpart rather than the list view one. Insert a blank dataview in sharepoint designer and then attach the custom list as the data source. You can do a lot more with the dataview webpart than the list view one.

다른 팁

What you can do is put HTML through calculated column following the link below:
Using calculated columns to write HTML

The guy has explained how you can add HTML in a calculated column or you can make single line textbox to prepare your HTML and then using JavaScript the HTML will be rendered in XSLTListView.. following is the link to download JavaScript:
Download link - Topic : HTML Calculated Column

So you can create buttons, link buttons, image buttons inside and on javascript redirect to other page or call pop up etc.

But you need to make sure the JavaScript is on every page you have the XSLTListView...

I hope this helps

You would open the page in SharePoint Designer and modify the Web Part by adding the buttons. Custom logic when pressing the buttons would be easiest by using JavaScript and Client Object Model.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top